PDA


View Full Version : Disabling header


Lionel
05-22-2005, 03:26 PM
I'd like to display a different header for specific categories. The conditionals are in place, but the browselinks.php for those categories is a defined VBportal true.

No matter what I do, even delete $header in browselinks template, it is displaying, I am assuming by the CMS.

Brian
05-22-2005, 03:28 PM
The CMPS is going to strip out everything from the <html> to the <body> tag, as well as the $header and $navbar variables in the code that is output. You may be able to add those conditionals to your adv_portal template instead though.

Lionel
05-22-2005, 03:50 PM
I've got it where you said, thank you.
<if condition="VBA_PAGE=='speciallinks'"> do this
<else />
$header
</if>

Lionel
05-22-2005, 04:05 PM
The only thing, I had to put the full spacer code because it would not respond to $spacer_open. No big deal, it works just the same.