4 replies [Last post]
BenStallings's picture
Offline
Joined: 03/13/2008
Juice: 91
Was this information Helpful?

I'm using Ubercart for event registrations, and for the most part it works great, but there are a few basic features that are missing...

One of these, unless I'm missing something, is the ability to automatically remove an item from the catalog (unpublish a node) when a deadline passes.

I tried setting up a Workflow-NG event, but then I remembered seeing something similar in another Drupal installation, and I found the Scheduler module: http://drupal.org/project/Scheduler

Is this the best solution for the functionality I'm looking for, or is there something else I should try? Thanks in advance.

mansu's picture
Offline
Joined: 06/23/2008
Juice: 42
Hi, I need to implement

Hi,

I need to implement something similar. Did this solution work for you?

Thanks,
-S-

wadehays's picture
Offline
Joined: 02/10/2008
Juice: 103
Re: Hi, I need to implement

We use the Scheduler module...works fine

www.PrintersCloset.com - Epson professional graphics printers and supplies for photographers, fine art galleries, sign printers and commercial printing companies.

fredklopper's picture
Offline
Joined: 01/20/2008
Juice: 28
Schedule the publishing of content

Hi there,

You should use the workflow_ng module (it's already installed so why not using it?)

Read the tutorial here: http://drupal.org/node/175319 (it's about publishing but unpublishing is practical the same)

Good luck!

Fred

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: Schedule the publishing of content

That tutorial is a little hard to understand (some of the sentences are difficult to follow) but I was able to get this concept working in 10 minutes or so. One thing to remember is, CRON needs to be running on your server. On our control panel's crontab I have it set to run every hour (and it sends our affiliate program, Linkshare, hourly stats - among other things). So even though I had set a node to publish at 12:54pm, it actually didn't publish until cron ran at 1:00.

--
Help directly fund development: Donate via PayPal!