PDA

View Full Version : HELP...CMS Header Image Only


utahwildlife
05-19-2012, 05:48 AM
I'm looking for a way to just have my rotating header images on my home page CMS (content.php). I'm referring to the images just below my main nav bar.

Here is a link to my form. http://www.utahwildlife.com/content.php

I'm assuming that I'll need to add the rotating images/script to the content.php instead of having it located in the navbar template. Is there anyway for me to include these rotating header image to just the CMS page and not the over subsequent pages? I'm thinking it can be done with CSS? Not sure though.

Does that make sense? Thank you for any advice you can offer me.

John

kh99
05-19-2012, 01:07 PM
You could try this: surround your header image code with an if:

<vb:if condition="$vbulletin->nodeid == 1">
// header image code
</vb:if>

utahwildlife
05-20-2012, 02:39 AM
HOLY COW IT WORKED!!!!! Thank you so much!