I'd like to build an Advent calendar with Drupal 7 as a warm-up exercise.

What would be the recommended way to protect future calendar entries from being accessed before their time?

I have 3–5 different content types to be used as calendar entries.

Everything should be accessible to anonymous users as well, so I only need to check the current date.

2 Answers 2


We have a client who uses the Scheduler module for their blog. They write a backlog of posts, and then post date them for when they want them to appear. You should be able to use this. Make nodes for all of the days, and date them for when you want them to appear. As long as you have cron workng properly, nodes should appear when they should.

Another option is to use the Date module along with Views. Make a content type with a date field. Set the date field to the day you want it to appear. Then make a view over that content type, and add a filter to compare the date field against the current day.

Of the choices, I would go with Scheduler.


Try the Calendar module. Crete in each of your five content types fields for date and type and Calendar should automatically hitch data from this fields and show it on calendar. Think that this is the pimpliest way to create references between own content type and events.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.