PDA

View Full Version : Mod template phrases and ACP settings


John Lester
08-24-2012, 05:31 PM
Is there a template condition that will only display a rawphrase if the corresponding option in the ACP is set to yes?

I'm working on a mod where one of the options in the ACP is to disable vcard download if it's currently enabled.

I have a phrase for the template regarding disabling the vcard, however if the admin decides not to disable the vcard then I don't want to display the phrase in the template.

Scanu
08-24-2012, 06:26 PM
<vb:if condition="$vboptions['you_option_name']">
{vb:raw phrase.you_phrase_name}
</vb:if>