PDA

View Full Version : Different Header in CMS than in board


usertr
06-11-2007, 02:37 AM
I'd like to display a slightly different banner on the home page, which is create by vBadvanced, than on the forum pages. I may be able to create another template to use for the home page, but how do I get the home page code to point to that alternative template?

Brian
06-11-2007, 07:41 AM
Just use an if condition in your header template.

<if condition="THIS_SCRIPT == 'adv_index'">
CMPS Header
<else />
Normal Header
</if>