PDA

View Full Version : [ASK] Nested IF Error


godarmy
07-22-2013, 05:55 PM
Hi,

i tried to put code like this..
want to change default words Forums to The Forums and Blogs to THE BLOGS
but cannot find it...
anyone can help me with that?
:confused:

<div class="module-title h-left">
<vb:if condition="empty($widgetConfig['hide_title'])">
<span class="main-title hide-on-editmode">
{vb:if $title=="Forums","THE FORUMS",{vb:if $title=="Blogs","THE BLOGS",{vb:raw title}}}
</span>
</vb:if>
<span class="admin-only">{vb:rawphrase x_module, {vb:raw admin_title}}</span>
</div>

nhawk
07-22-2013, 08:42 PM
Why are you trying to change phrases in a template?

Just change the phrases in the phrase manager.

godarmy
07-22-2013, 10:55 PM
Hi,

thanks for feed back...
first time i think it same way...but looks like page title in VB 5 not included on phrase...

Best Regards