Author
Message
justbrowsing New Member Joined: Sep 26, 2009 Posts: 12
Posted:
Wed Nov 18, 2009 12:24 pm
Im working on putting together a theme that Im actually pretty happy with so far. I just want to make one small modification.
Its set up right now so its
Header
subheader
content
how can I set it up so the subheader ONLY shows on the main index any other page or module shouldnt show it.
If index show
else
no show
It would be nice to show the subheader on index subheader2 on 2 or 3 other modules and then nowhere else on site but I dont need to get that complex.
if index,content,forums,module1, module2, show sub 1
modules2, modules3, show sub2
everything else show null
The first example is priority but if anyone could write an example for both that would be great.
Thanks
evaders99 Former Moderator in Good Standing Joined: Apr 30, 2004 Posts: 3221
Posted:
Fri Nov 20, 2009 1:25 am
If the theme calls the subheader function, you can distinguish loading from index.php rather than modules.php by checking the define HOME_FILE
xGSTQ Involved Joined: Feb 03, 2006 Posts: 267 Location: UK
Posted:
Mon Dec 14, 2009 4:49 am
do u still need help with this ?
View next topic
View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum