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: 3411 Total Topics: 1279 Total Polls: 11 Total Posts: 4726 Posts this week: 12
- User Info: Newest User : Members Online: 0 Guests Online: 229
- Online There are no members online
- New Sticky