Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Viewing "home" page
  • Posted: 09.05.2004, 13:32
     
    mrmuttley
    rank:
    Helper Helper
    registered:
     January 2004
    Status:
    offline
    last visit:
    15.04.06
    Posts:
    195
    Hi,

    I have been trying to determine within master.htm whether the "home" page is being viewed.

    Is there a variable that I can examine within a Smarty tag to determine this?

    The reason for this is that I need to display a list-item (i.e. "Home" link on the navbar) with a different CSS style if the home page is the one currently being viewed.

    I also want to use this technique to conditionally include content (a Pagesetter publication list) when the homepage is being viewed.

    Thanks,

    Graeme
  • Posted: 09.05.2004, 13:33
     
    mrmuttley
    rank:
    Helper Helper
    registered:
     January 2004
    Status:
    offline
    last visit:
    15.04.06
    Posts:
    195
    I should have mentioned that I'm using Xanthia RC2.
  • Posted: 09.05.2004, 14:12
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    You can't in RC2 - you'll need RC3 plus a patch from CVS (or wait for .750). See this thread. With this you'll be able to define a different master template for the homepage.

    -Mark

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula