Log in

View Full Version : exclude header if field is filled?


QtrCafe
03-15-2006, 08:09 AM
Hello all,

its basically as it says .. I am trying to exclude the header and footer from showing up if a certain field is filled .. whats the best way to do this?

I am not a professional coder but I did have some experience in C++. I'm trying to make it this way but I have no clue why isn't it doing it right

<if condition!="$userinfo[field8]">
$header
</if>

a little help will be really appreciated :D

Borgs8472
03-15-2006, 11:05 AM
^ ^
wrap that around your header and footer templates.

Colin F
03-15-2006, 11:40 AM
As I posted on vBulletin.com, you'll have to use this conditional instead:

<if condition="$bbuserinfo[field8] == ''">
$header
</if>