Quote:
Originally Posted by BUDIMAN
hi borbole ... do you understand my question ? that's the wrong way.. i dont want to open in new windows for all..but sub-forum that contain redirect link only
the html code should be in condition. (<vb:if></vb:if> condition)
argghhh..why vb4 is so different..in vb3, i can do this easily...
|
Sorry for the misunderstanding. I thought you wanted to open all the forums. Try this. It should do what you want
Same template, find the same code
HTML Code:
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
And replace it with this code:
HTML Code:
<vb:if condition="$forum['link']">
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}" target="_blank">{vb:raw forum.title}</a></h2>
<vb:else />
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
</vb:if>