[themes] Example phptemplate theme

Tao Starbow starbow at citris-uc.org
Mon Dec 5 19:43:58 UTC 2005


Is there a documentation page somewhere that lists/describes all the 
methods of $node that can be accessed in a template?

David Carrington wrote:

>On 05/12/05, Rowan Kerr <rowan0 at gmail.com> wrote:
>  
>
>>Actually, on my wishlist for phptemplate is finer-grained control of
>>date/time/author variables for a node (instead of just $submitted).
>>    
>>
>
>You have access to $node, so you can make it anything you like:
>
><?php t('Scribbled quickly by %a on %b.', array('%a' =>
>theme('username', $node), '%b' => format_date($node->created))); ?>
>
>--
>David Carrington
>_______________________________________________
>themes mailing list
>themes at drupal.org
>http://lists.drupal.org/mailman/listinfo/themes
>  
>


More information about the themes mailing list