- Moderated by:
- Support
-
- rank:
-
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 -
- rank:
-
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
