lundi 27 octobre 2014

Empty smarty variablr?


Vote count:

0




Why smarty variable doesn't have value in my code when I tested on /nl/nl/ address ? Code:



{if $lang == "nl" && ($country == "nl" || $country == "be")}
{literal}
javascript code
{/literal}
{assign name="test" value="1"}
{/if}
{$test} <!-- Empty value !-->


asked 1 min ago







Empty smarty variablr?

Aucun commentaire:

Enregistrer un commentaire