[development] phptemplate_user_list override

Sanduhrs sanduhrs at audiens.de
Wed Jun 14 18:49:06 UTC 2006


Am Wednesday, 14. June 2006 20:42 schrieb Tamir Khason:
> I posted this question to support group - no answer there, but the
> problem is VERY annoying
> So. I want to override user_list template (one, used for active/last
> users block). So, in 4.7 template.tpl.php added:
First try to rename your template.inc.php to template.php, then report 
changes ;)

>
> function phptemplate_user_list($items, $title = NULL) {
>   return _phptemplate_callback('user_list', array('items' => $items,
> 'title' => $title));
> }
>
> and placed user_list.tpl.php in theme directory. This one contains
> <?php
> print ('Hello world!');
> ?>
>
> for debugging.
> The cache is clear, and themes are reloaded, but *no change* in
> active/last user's block
>
> Missing something, or it's just bug?
>
> Thank you


More information about the development mailing list