Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Themes
Author Message
justbrowsing
New Member
New Member



Joined: Sep 26, 2009
Posts: 12

PostPosted: Wed Nov 18, 2009 12:24 pm Reply with quote

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
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Fri Nov 20, 2009 1:25 am Reply with quote

If the theme calls the subheader function, you can distinguish loading from index.php rather than modules.php by checking the define HOME_FILE

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
xGSTQ
Involved
Involved



Joined: Feb 03, 2006
Posts: 269

PostPosted: Mon Dec 14, 2009 4:49 am Reply with quote

do u still need help with this ?
 
View user's profile Send private message Send e-mail
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Themes

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©