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:
Code: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.
Code: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 |
- Index
- » MetaMod Pro
- » MetaMod Pro General Support
- » JoomFish frontend detection and "and...
Board Info
- Board Stats: Total Users: 3100 Total Topics: 1196 Total Polls: 7 Total Posts: 4453 Total Posts Today: 4
- User Info: Newest User : boca0 Members Online: 2 Guests Online: 89
- Topic
- New
- Locked
- Sticky
- Active
- New/Active
- New/Locked
- New Sticky
- Locked/Active
- Active/Sticky
- Sticky/Locked
- Sticky/Active/Locked
































