Member since 11/27/2006

Name: Bèr Kessels


Location: Nijmegen, Netherlands


The way of the Hacker - Long term #Drupal developer - owner of - OpenSource lover - Long term #linux user - Rails user

3 snippets

8 profile views

View their favorites


All time reputation: 59


first submission:submitting first snipplet

berkes's Recent SnippetsTagged template

« Prev 1 Next »
  1. FAV

    Allow per-region template overrides.

    A per-region override. ogt_blocks is ran for a region, if a region contains blocks, we search for a theme function named theme_region_regionname(). If exists, we run that, else we just return the concatenated blocks for that region.
    PHP saved by 3 people 1 views posted 12 years ago berkes
  2. FAV

    Easy debug variable to find what vars are available in a tpl.php file

    An easy debug trick: gives you a variable that you can print in any tpl.php to find out what vars you have available there.
    PHP saved by 5 people 3 views posted 12 years ago berkes
  3. FAV

    link images to their own node.

    This snippet is for use with image module, a small contributed module for image handling. (Yes: in Drupal you need a /contributed/ module for this o_O. The template snippet links the images to their own node.
    PHP saved by 10 people 2 views posted 12 years ago berkes
« Prev 1 Next »