I need to put this {$LANG.home}
which equals to "Home", into this:
$ca->addToBreadCrumb('index.php','Home');
I tried:
$ca->addToBreadCrumb('index.php',$LANG.home);
but no cigar.
Any assistance would be greatly appreciated.
I need to put this {$LANG.home}
which equals to "Home", into this:
$ca->addToBreadCrumb('index.php','Home');
I tried:
$ca->addToBreadCrumb('index.php',$LANG.home);
but no cigar.
Any assistance would be greatly appreciated.
Well I'm going on a guess but if {$LANG.home}
is a Smarty variable then $LANG
is an array so:
$ca->addToBreadCrumb('index.php', $LANG['home']);
$LANG
.
$_LANG['home'] = "Home";
In the HTML file, {$LANG.home}
works OK. When the page is rendered the smarty tag is replaced by the "Home" string. But when used in PHP file (even as you suggested), nothing shows.
May 13, 2016 at 23:37
$ca->addToBreadCrumb('index.php', $_LANG['home']);