[support] Archiving?

Larry Garfield larry at garfieldtech.com
Sun Jul 1 04:11:36 UTC 2007


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 at 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


More information about the support mailing list