Profile
Achievement
berkes's Recent SnippetsTagged template
- All /
« Prev 1 Next »
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.
1
926
posted 16 years ago by berkes
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.
1
958
posted 16 years ago by berkes
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.
2
750
posted 17 years ago by berkes