PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
justbrowsing
New Member
New Member


Joined: Sep 26, 2009
Posts: 12

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

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 Back to top

If the theme calls the subheader function, you can distinguish loading from index.php rather than modules.php by checking the define HOME_FILE
View user's profile Send private message Visit poster's website
xGSTQ
Involved
Involved


Joined: Feb 03, 2006
Posts: 267
Location: UK

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

do u still need help with this ?
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum