Can anything be done with the 'Title' field in the Date view argument?

I'm very keen to use a single view (and only have to theme it once!) with arguments like P1W, P1M, etc, but I'd like the title to reflect that somehow, eg 'This week', 'This month'.
Would this be possible?

(I've got the strange feeling I've asked you this before, but can't find it in the closed issues. Apologies if this is the case.)

CommentFileSizeAuthor
#4 view_cck_date_argument.png13.18 KBjayson

Comments

wmclark’s picture

You are supposed to be able to use the views date title argument, however, when I try to use it, no matter what, I get the CURRENT year instead of the expected year in the title (however, the views DOES only get nodes with the argument passed)

For example, I pass 2010 as the argument in the URL. In the custom title, it will say 2008 (the current year) instead of 2010.

This is a bug... I didn't see it posted anywhere else and this post is the most relevant.

Derferman’s picture

I am having the exact same problem. Is there a bug report for this?

joachim’s picture

I think this is it :)

jayson’s picture

StatusFileSize
new13.18 KB

I am also experiencing this same issue and looking forward to it's resolution. I have Views, CCK, Date installed on Drupal 5.7. When I use a CCK date field as an argument, I always get "1 Jan 2008" displayed in my title. See my attached screenshot of how I have setup the argument. If I'm not doing anything wrong, then I agree with the previous posts that this is bug.

karens’s picture

Status: Active » Fixed

I'm not making changes to the 5.1 version. I'm officially recommending you move to the 5.2 version now. If you have problems in that version you can check for existing issues or add new ones. Feature requests are now getting posted to the D6 version to be back-ported to 5.2.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.