Core Themes & Design  :: 
Modify *home template
 Top

  • I am modifying a theme. I need to have diferent home pages whether the user is logged or if is not.

    To get this, I am trying to add some Smarty code in the *home template. My code is:


    code ;


    userlogged is a Xanthia plugin that I have programmed as a mod of function.user.php which returns the username if an user is logged or 0 in other case.

    Unfortunately, this doesn't work, but the plugin is working correctly.

    I would like to know if my approach is right and, in that case, how can I get it working.

    Perhaps there is another way to do it. I have tried to change the module template, but the system always uses the *home template.


    Thanks in advance.
This list is based on the users active over the last 60 minutes.