[development] proposal for theming nodes

Bèr Kessels ber at webschuur.com
Wed Dec 14 17:54:36 UTC 2005


Op woensdag 14 december 2005 17:53, schreef andre:
> switch($op){
> case 'view':
>    $stuff = get_stuff();
>    $stuff_i_want_in_node = theme('mymodule_theme_function', $stuff);
>
>    $node->body .= $stuff_i_want_in_node;
>    break;
> }
> }
>
>
> Then the theme developer can override whatever is appended/prepended to
> the node.

This happens now (most of the times) but is very inflexible.

-- 
 PGP ber at webschuur.com
  http://www.webschuur.com/sites/webschuur.com/files/ber_webschuur.asc
 PGP berkessels at gmx.net
  http://www.webschuur.com/sites/webschuur.com/files/ber_gmx.asc


More information about the development mailing list