[development] Making blocks from some setting in Drupal 7?

Earl Miles merlin at logrus.com
Sat Feb 23 20:51:02 UTC 2008

Larry Garfield wrote:
> That's also the original logic behind the component module:
> http://drupal.org/project/component
> That said, -1 to putting function calls directly in the template.  They're not 
> portable to other template engines other than PHPTemplate.  That's also 
> putting too much logic into a template, where it belongs in a theme/template 
> (preprocess) function.  

We already rely on templates being able to use the t() function and 
theme ('links') appears in the standard page.tpl.php as well.

More information about the development mailing list