2016-12-20, 06:03:46
global variable $language is intended for this purpose:
Hmmm ... Perhaps you can use your page menu title for that purpose? So you don't need to check current language, something like:
Code:
if ($language == 'en') { echo 'Home'; }
(2016-12-15, 22:30:25)cobber Wrote: this is because the link is hard coded into the header.
Hmmm ... Perhaps you can use your page menu title for that purpose? So you don't need to check current language, something like:
Code:
echo $data_index->menu;