Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod Pro
- » MetaMod Pro General Support
- » Error with Return of many module ids
Page:
1
Error with Return of many module ids
Error with Return of many module ids
I get the an error when I do a "return 46,45;"
with this code:
Code:
$vm = JomGenius("virtuemart"); // need this at the start of every rule
if ( $vm->check( "pagetype = frontpage" ) ) return 46,45;
No error with "return 46;".
The error I get is:
"Parse error: syntax error, unexpected ',' in C:\xampp\htdocs\gourmet\modules\mod_metamod\helper.php(539) : eval()'d code on line 2"
I did this following the Metamod instructions:
"... return the module id or module position name, a comma-separated list of module ids ..."
Can you help?
Robert
Administrator has disabled public posting
Administrator has disabled public posting
Page:
1
- Index
- » MetaMod Pro
- » MetaMod Pro General Support
- » Error with Return of many module ids
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5943
- Total Posts Today:
- 1
- User Info:
- Total Users:
- 7638
- Newest User:
- moner86658
- Members Online:
- 0
- Guests Online:
- 140
- Online:
- There are no members online
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked