Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » can anyone help with specific days...
can anyone help with specific days and time script to show modules?
can anyone help with specific days and time script to show modules?
Hi
I am currently using the free version and working great. I though want to try and accomplish the following:
On Tuesday and Saturdays from 18:00 > 22:00 show modules 67 and 65.
So far my I've been trying to use the examples of time placements but to no avail.
Can anyone help?
Thanks
scott
Re: can anyone help with specific days and time script to show modules?
Hi Scott,
there's a nice new easy way to do this in MetaMod 2.4 which I think you'll like!
Once you have everything else set up right (see the quick start guide), try using the following PHP rule in the PHP box:
if ( $core_genius->inTimeSpan("tue 18:00 - tue 21:59; sat 18:00 - sat 21:59") ) return "67,65";
Also, don't forget to set your local time zone in the drop-down box at the top of the MetaMod. Leaving it as "Default" is ok, but if you set your local time zone here then it will respect Daylight Savings (Summer Time) while the Default one does not.
[If for any reason you have installed MetaTemplate, then you should set the local time zone in the "Parameters" for MetaTemplate, because this overrides the timezone in MetaMod.]
Hope that helps,
Stephen
- Index
- » MetaMod
- » MetaMod General Support
- » can anyone help with specific days...
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5943
- Posts this week:
- 2
- User Info:
- Total Users:
- 7642
- Newest User:
- mary26
- Members Online:
- 0
- Guests Online:
- 151
- 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