List Info

Thread: Re: Making blocks from some setting in Drupal 7?




Re: Making blocks from some setting in Drupal 7?
country flaguser name
United States
2008-02-23 14:51:02
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.

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )