Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

Display Module Every Tuesday at 6PM

Display Module Every Tuesday at 6PM

Hi- I'm trying to figure out the PHP to get MetaMod to show my module every Tuesday night from 6-6:30PM. I've tried a few options but they aren't working right- please help. I'm using Joomla 1.5.12 and MetaMod 2.1.

Thanks!

Edited By: gmd8
03-Nov-09 00:04:17

gmd8
Beginner Modder
ranks
useravatar
Offline
1 Posts
Administrator has disabled public posting

Re: Display Module Every Tuesday at 6PM

Hi Gmd8,

try this, assuming that you want to display module 101 between 6 and 6:30 PM every Tuesday night:

if (MM_DAY_OF_WEEK == 2 and MM_TIME > 180000 and MM_TIME < 183000) return 101;

Hope that helps,
Stephen

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3313 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5913
Dormant:
User Info:
 
Total Users:
10727
Newest User:
solza2
Members Online:
1
Guests Online:
130

Online: 
solza2

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked