[development] .tpl-ifying Drupal

Bèr Kessels ber at webschuur.com
Tue May 8 09:46:19 UTC 2007


Op maandag 07 mei 2007, schreef Dries Buytaert:
> Unfortunately, this distribution isn't all that interesting ...

A better measure is to grep for 
^function (phptemplate|$themename)_([^\s(]*)
in /$themename/template.php


These resemble the overridden theme functions a lot better. Since creating 
such a function is a lot less work then buiding the xyz.tpl.php files it is 
used much more often.

By awk and sed skills are a bit too rusty to write a proper bash script that 
finds $themename.

Bèr

-- 
Drupal, Ruby on Rails and Joomla! development: webschuur.com | Drupal hosting: 
www.sympal.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/development/attachments/20070508/d3366f80/attachment.pgp 


More information about the development mailing list