This might have already been addressed, and I apologize if it has. I've been searching for three days to avoid posting a duplicate topic, if it is a dupe, please link me to the original.
Anyway, what I'm trying to do is emulate a style similar to Penny Arcade's blog, where any posts made between Monday and Wednesday, Wednesday and Friday, and Friday and Monday are displayed on the front page. If I post five updates on Monday, they'll be shown until Wednesday, where they're then pushed back into the history, and Wednesday and Thursday posts are then shown until Friday, etc.
Is there any relatively simple way to do this? I have Views installed, but am not really familiar with it. Really, all I want is for the homepage blog posts to reset every Monday, Wednesday, and Friday.
Thanks for help!
Comments
What about using a filter in
What about using a filter in Views for the node post date, with a relative date of now minus 2 days?
Good, but...
That's a good idea, I didn't even see the custom filters on Views. Is there a way to set it, not to "last two days", but "before last Monday" or something? I would think that "past two days" would show posts from Tuesday on Wednesday, when Tuesday posts are supposed to be grouped in with Monday. The posts are supposed to go "Monday and Tuesday", "Wednesday and Thursday", and "Friday, Saturday, and Sunday", removing the posts from the past group when the next group starts.
*edit:
For example, on Monday, you'd see just that day's post. On Tuesday, you'd see Monday and Tuesday's post, Tuesday's post being an update to Monday's. On Wednesday, though, you'd only see Wednesday's post, Monday and Tuesday's posts would be pushed back a page. On Sunday, you'd see Friday, Saturday, and Sunday's posts.
I see. Views can't do that on
I see. Views can't do that on its own and I don't know of any existing modules that do it for you; you would need to write a custom module to extend Views filters, specific to your need. Or if you can think of a way to create that filter using regular expressions, you could use the Custom Filter module: http://drupal.org/project/customfilter
Alright
Okay, thanks for the help. I was hoping to have an easy two man blog sort of like Penny Arcade, where my partner and I could banter back and forth on each day's postings. I'll try to think up another way.
_
I'm not sure I understand what the problem is-- did you try setting the post date filter to "is greater than or equal to" using an offset value of "-2 days" ?
It's specific to day of week,
It's specific to day of week, not a simple relative date:
Monday = Mon posts only
Tuesday = Mon and Tues posts only
Wednesday = Wed posts only
Thursday = Wed and Thurs posts only
_
ah ok-- you'll have to create a custom filter. Or maybe you can create 4 views and just use some php with views_embed_view to select the correct view and display it.
Wondering
You know, I was wondering something a little different, that would achieve the same effect. Is there any way to create a filter in Views (or some other module) that would have the effect of Parent/child posts on the front page? So on Monday, I could post something, then later on Monday or on Tuesday my co-blogger could post a reply to it, and we could keep replying to each other on the front page?
Then on Wednesday, the parent post is replaced with a new one, and it starts again?
_
You might be able to work out that functionality with a nodereference between the parent/child posts with views.