Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » Syntax Problem?
Syntax Problem?
Syntax Problem?
Hallo Stephen, I made a donation a couple of days ago but decided that I didn't need the Pro version.
So I have Metamod working wonderfully with this.
if ( MM_DAY_OF_WEEK == 1
return 214; // Monday = "1"
if ( MM_DAY_OF_WEEK == 2 )
return 215; // Monday = "1"
if ( MM_DAY_OF_WEEK == 3 )
return 216; // Monday = "1"
if ( MM_DAY_OF_WEEK == 4 )
return 217; // Monday = "1"
if ( MM_DAY_OF_WEEK == 5 )
return 218; // Monday = "1"
if ( MM_DAY_OF_WEEK == 6 )
return 219; // Monday = "1"
if ( MM_DAY_OF_WEEK == 0 )
return 220; // Monday = "1"
When I add this at the beginning it seems to have no effect but continues to execute the statements above correctly..
if ( $user->id == "277" )
return "214, 215, 216, 217, 218, 219, 220"
I am definitely user 277, but only one module, the "day" module is displayed. All modules exist and are displayed correctly on the day.
What have I missed please?
- Index
- » MetaMod
- » MetaMod General Support
- » Syntax Problem?
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:
- 142
- 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