![]() |
custom profile field problem in 3.7
Hi
I used this in postbit template but did not show anything: Code:
<if condition="$post['field5']"> |
What is the content of this field?
|
text
|
try
Code:
<if condition="$post['field5']"> |
That code is incorrect Spank. $post is the variable that should be used in the template.
Make sure the field actually contains some data too! Else it won't show up at all. |
I usually use the $post variable, but I noticed one of the mods I'm using it uses $user['field#'] and works fine.
|
Quote:
|
That was a problem on changing template .. the first code works correctly.
thanks anyway |
All times are GMT. The time now is 12:44 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:
|