10-15-2008, 04:32 PM
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 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