PHPCow Help

Full Version: Custom Function that Dynamically Changes Block Based on Date
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I am trying to create a function that basically displays a particular customblock on the schema based on the date.
I have created 7 article categories called Monday Column, Tuesday Column etc.... all the way to Sunday Column.

What I want to achieve with the custom function is basically, the code check todays date (i'm guess using server or external source) based on that date it would output to the schema at the designated location the customblock for that date. So if it monday, on the schema or rather homepage we would see the monday column articles. here is the test site leadership.nigeriannewsservice.com, look at the right column above the LEADERSHIP EDITORIAL
thats where i want to input.

Anyone know how to do this

Cheers
I wish I could help but I'm not a coder sadly and this is outside my realm of expertise. Hopefully someone else on here may know something better to offer you, sorry.
thanks Kaos
This cannot be done AFAIK
Reference URL's