[drupal-devel] Theme system changes: theme regions, updates required

Karoly Negyesi karoly at negyesi.net
Mon Aug 22 09:29:17 UTC 2005


>    - To add new regions to a PHPTemplate-based theme, simply declare the  
> region(s) in a mytheme_regions() function, e.g.,
>     <?php
>
>     function mytheme_regions() {

I already asked this somewhere -- phptemplate and mytheme_ ? The big  
advantage of template.php is that the functions are theme agnostic, they  
are named _phptemplate_*, in this case it would be _phptemplate_regions.

Regards

NK



More information about the drupal-devel mailing list