I'm trying to get link forum links to open in a new window or tab, so here's what I have in forumhome_forumbit_level2_nopost
This is the code for the forum title link, and I've added a vb:if condition:
PHP Code:
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}" class="forumtitle"<vb:if condition="in_array($forum['forumid'], array(22))"> target="_blank"</vb:if>>{vb:raw .title}</a></h2>
.
vB is telling me I have a malformed conditional and the code is not working, but damned if I can figure out why.