So I've installed and configured the vote up/down module, but now I want to create filters, very much like http://www.sugarloving.com, and Digg. I'd like to create filters on time, so it would be "latest", "24hrs", "week", "all time".

And maybe if you could set that up to filter via contents as well.

I think this is probably mostly a views setting? I'm not sure. If someone could guide me through and show how to setup the filters I'd be eternally grateful.

Comments

rernst’s picture

The cck date module has view-based filters that let you set date ranges, or dates based on the current time.

For example, your last 24 hours would be implemented with
(node timestamp) (greater than) now() - (24 * 60 * 60)

spookypld’s picture

Add Filter PostDate to the View and configure it f.e. "+1 day" means that it will appear only for 24h since posted. You must remember, that any modification to the node will overwrite it's date.