Hello, I have nodes for each shows, which are presented to the front page as well as gig schedule section. I didn't want to use calendar module for a few reasons I don't go into right now. What I am looking for is to archive each schedule nodes automatically when the date passed. I still want them to be viewable when visiter wants to see where we usually perform, but removed from the schedule main section as well as promoted front page section. Is it possible? -- - Hiro Hiroaki Honshuku, A-NO-NE Music, Boston, MA <http://a-no-ne.com> <http://anonemusic.com>
On Friday 29 June 2007, A-NO-NE Music wrote:
Hello, I have nodes for each shows, which are presented to the front page as well as gig schedule section. I didn't want to use calendar module for a few reasons I don't go into right now.
What I am looking for is to archive each schedule nodes automatically when the date passed. I still want them to be viewable when visiter wants to see where we usually perform, but removed from the schedule main section as well as promoted front page section.
Is it possible?
1) Set newly created gig nodes to "promote to front page". 2) Cron hook to set "promote to front page" to false on a node once it's passed. 3) Setup your Views to filter on "promote to front page". "Promote to front page" is only used by core for the default 'node' front page. If you're not using that, then it's unused and you ca repurposes it however you want. Alternatively you could use Sticky for it if you want. Or... heck, Views can filter based on the date, so just only show events with a date in the future. :-) -- Larry Garfield AIM: LOLG42 larry@garfieldtech.com ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson
Larry Garfield / 2007/06/30 / 12:11 AM wrote:
1) Set newly created gig nodes to "promote to front page".
Sorry I wasn't clear on this one. I promote only 3 upcoming shows to front page, and usually newly created gig node is much later date.
Or... heck, Views can filter based on the date, so just only show events with a date in the future. :-)
Ahhh, so, I can archive them with View filter set by date as well. Brilliant! Thank you so much. I will try this. -- - Hiro Hiroaki Honshuku, A-NO-NE Music, Boston, MA <http://a-no-ne.com> <http://anonemusic.com>
Larry Garfield / 2007/06/30 / 12:11 AM wrote:
Or... heck, Views can filter based on the date, so just only show events with a date in the future. :-)
I am still having trouble with this. Views with dates in future and archiving the past are working great. Only one, but rather big problem. The weekly shows disappeared since there isn't a static date attached to it. I have tried different filters but nothing seems to work. At this point, I wonder if I have to do View in a View thing. -- - Hiro Hiroaki Honshuku, A-NO-NE Music, Boston, MA <http://a-no-ne.com> <http://anonemusic.com>
participants (2)
-
A-NO-NE Music -
Larry Garfield