Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » Need help switching my TV schedule...
Need help switching my TV schedule everyday
Need help switching my TV schedule everyday
Hi, I'm new and have try to use metamod...but I have no clue what I'm doing. Can someone please help me turn my module that shows my schedule for today off at 11:30 pm and have the next days schedule turn on. Here is a link to the site... www.icfn.tv next to the video player is the schedule.
Im using joomla 1.5.20 and metamod 1.5.2
10-Nov-10 19:57:55
Re: Need help switching my TV schedule everyday
HI ducetray,
sorry for the delay in responding. I had a few days off.
1 - set up all the modules that you want to display - we call these the "target" modules. Do you have 7 of them, one for each day? I'll assume so.
2 - for each of the target modules, set the "Menus" to "none" so they don't show up at all (yet).
3 - set up a MetaMod in the position that you want the other timed modules to appear in. Make sure this one is enabled and set to the correct menu(s) and module position. In the PHP box, use the following PHP. Replace AAA-GGG with the module ids of the modules that you want to appear from Sunday to Saturday:
if ( $core_genius->inTimeSpan("sat 23:30 to sun 23:30" ) ) return AAA;
if ( $core_genius->inTimeSpan("sun 23:30 to mon 23:30" ) ) return BBB;
if ( $core_genius->inTimeSpan("mon 23:30 to tue 23:30" ) ) return CCC;
if ( $core_genius->inTimeSpan("tue 23:30 to wed 23:30" ) ) return DDD;
if ( $core_genius->inTimeSpan("wed 23:30 to thu 23:30" ) ) return EEE;
if ( $core_genius->inTimeSpan("thu 23:30 to fri 23:30" ) ) return FFF;
if ( $core_genius->inTimeSpan("fri 23:30 to sat 23:30" ) ) return GGG;
That should do it.
Best regards,
Stephen
- Index
- » MetaMod
- » MetaMod General Support
- » Need help switching my TV schedule...
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5942
- Total Posts Today:
- 1
- User Info:
- Total Users:
- 7623
- Newest User:
- laptopreviews21
- Members Online:
- 0
- Guests Online:
- 104
- 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