Here's what I'm trying to do: I have a custom flexinode nodetype created that includes a date field. I want to have a block display only the content whose date matches today's date. Right now I'm using the Scheduler module to just have the nodes be published/unpublished at the beginning/end of each day (and I'm having to manually enter the midnight starting and ending time for each and every node).

But I'd also like to allow people to view previous days' content in addition to the block showing today's content. With my current approach, a page displaying all the nodetype's content won't show anything but today's content. I can only do enough PHP coding to figure out how to tell a block to display all the content from a nodetype; since it's flexinode, I couldn't figure out how to tell it to only display the nodes whose date matches up with the current date.

I hope this isn't too confusing. I tried to do a search for how to do this, but didn't have any luck. Any ideas? Thanks!

Comments

halfelven’s picture

There's a archive module that will show all content on a certain date. If that doesn't do what you want, maybe the code can be used if modified. There's also the daily module to look at.

- halfelven