PDA

View Full Version : condition $foruminfo[title]


chriswatson
01-05-2010, 11:49 AM
Hi, can somebody please help me change the following code to make it compatible with vb 4 for use in the navbar template.


<if condition="($foruminfo[title] == '')">
<h1>$foruminfo[title]</h1>
<p>$foruminfo[description] $threadinfo[title]</p>
</if>


Many thanks
Chris.

ForumsMods
01-05-2010, 12:53 PM
<vb:if condition="$foruminfo['title'] == ''">
<h1>{vb:raw foruminfo.title}</h1>
<p>{vb:raw foruminfo.description} {vb:raw threadinfo.title}</p>
</vb:if>

chriswatson
01-05-2010, 08:15 PM
That did the trick, much appreciated :up: