PDA

View Full Version : Syntax help please


vb.help
11-30-2011, 01:26 AM
Hi,
I am trying to check whether the following is not empty or not to print some HTML style
Can you please give me the syntax

{vb:raw template_hook.postbit_userinfo_right_after_posts}

thanks

--------------- Added 1322620066 at 1322620066 ---------------

I tried the following but it give the error
<vb:if condition="${vb:raw template_hook.postbit_userinfo_right_after_posts}">
<div class="post_field">{vb:raw template_hook.postbit_userinfo_right_after_posts}</div>
</vb:if>

kh99
11-30-2011, 01:33 AM
I think you want this:

<vb:if condition="$template_hook[postbit_userinfo_right_after_posts]">
<div class="post_field">{vb:raw template_hook.postbit_userinfo_right_after_posts}</div>
</vb:if>

vb.help
11-30-2011, 01:47 AM
Thanks