Can it be written/coded in PHP...

Status
Not open for further replies.

Chimpie

OMG Member
Joined
Oct 1, 2008
Messages
137
Can it be written/coded in PHP to display content depending on the date?

For example: I want information about Topic A to display from November 5 to November 12. But leading up to November 5 I want it display Teaser Information A and after November 12 display Ending Message A.
 
Joined
Oct 6, 2010
Messages
105
If you create an event listener to listen on the view layer (I'm pretty sure you can do that) and mimic the parent:: function, but modify the post content to only include your teaser based on the date.
 

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,101
I don't know. I just tend to do it manually.
 
Status
Not open for further replies.
Top