By AllSystemGo on
I just need advice on something I'm trying to create. Right now I have a Intranet kinda website for my company and on the main page I'll have news in a box format. Now I don't want to show the same new for more then 10 days. So I want to know is there a module that let me create a content with a day limit?? If no how can I make that happen ??
I am trying to create my own module for that but right now I'm stuck at wether, which is probably going to be the case, I create a new table that will containt the day limit of that content.
Thank you all for your advices.
Cheers.
Comments
There are many ways to do what you want
There are some questions though that your post does answer. The big one is what do you want to happen to content older than 10 days, is it deleted or still available in an archieve or even still there but not accessable to the public.
First there is no need to make a new table to contain the day limit for the content, you can used the created field in the node table and calculate the age of the content to determine what to show/keep.
If you just want limit what is seen on the front page you could use the views module and make a block that shows content filtered by the create time and possibly content type.
There are also the Scheduled Actions module (http://drupal.org/project/sched_act) and Scheduler module (http://drupal.org/project/scheduler) which could help in achieving you goal.
Thank you very much for your
Thank you very much for your help. I'll give it a try and let you know the outcome of all that!!
Cheers