Welcome to the MetaMod and Chameleon Support Forums.
Before posting, please check out the FAQs.
Re: JoomFish frontend detection and "and if" fonction in PHP
OK I got it! The frontend language options solved the problem and it works great with a condition in the free PHP section such as:
if ($template == "electric_standard_jan2011" and $language_code == "fr") return 351;
Therefore if $language_code == "en" it wont return anything in this case, which is what I want.
Parse error: syntax error, unexpected T_IF in /home/guitar88/public_html/modules/mod_metamod/helper.php(606) : eval()'d code on line 4
There was a synthax error. I have used "and if" instead of "and".
|Administrator has disabled public posting|
- Board Stats: Total Users: 3100 Total Topics: 1196 Total Polls: 7 Total Posts: 4453 Total Posts Today: 4
- User Info: Newest User : Members Online: 2 Guests Online: 89
- , ,
- New Sticky