Quote:
Originally Posted by RK KINGKONG
im getting this message when trying to save after entering the profile field number
PHP Code:
The following error occurred when attempting to evaluate this template: Unclosed Tag This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
whats the proper way
<br /><vb:if condition="$post['10']">
<a target ="blank" href="{vb:raw post.10}" do i take out the field# n replace with the number in both spots , or do i just put the number in after field# in 1 spot or both instances ?
|
Replace the # with your profilefield number in both instances; For example if the profile field is 10
Code:
<vb:if condition="$post['field10]">
<a target ="blank" href="{vb:raw post.field10}"><img src="images/postbit_social/twitter.png" alt="Follow {vb:raw post.username} On Twitter" /></a>
</vb:if>