I have a timetable of my djs who play on the site, i want to use my timetable to show each hour which DJ is playing next...
using my timeble, what would be the easiest way to out put a different chunk every 2 hours?
so at 08:00 - 10:00 it would say DJ NAME 1 then at 10:00 it would change and say 10:00-12:00 - DJ NAME 2
any ideas?
CHees
any one have a good idea?
-
MODX Staff
- 10,725 Posts
You can write a snippet to check the current time and use some if conditions to determine which chunk to render.