![]() |
conditional statement not working.
Does anybody have an idea why this is not working?
Code:
<if condition="$post[field7] == 'Yes!'"> I initially tried it leaving out condition, but that doesn't seem to work either. |
<if condition="$post['field7'] == 'Yes!'">
<if condition="$post['field7'] == Yes!"> In order of best guess. :) |
Thanks, it turns out that my version should work (works in postbit), but when included in the header template it fails.
I guess I have to include certain php files into the header for it to function as the values cannot be retreived. |
Try $bbuserinfo instead of $post.
|
All times are GMT. The time now is 04:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|