When building a view that allows for title overrides based on argument values, date_views doesn't implement the title() function in the views handler. As such, I only ever see the raw argument out of the URL as the page title. It should wash this through the display date format for the view the same as is done for summary links. This can be done by adding a title() function to date_views_argument_handler_simple.inc that returns the argument value as formatted by date_make_date.

I did a simple implementation, though this probably isn't as robust as it could be. This patch is against Alpha 4, as the current dev was broken when I tried it.

CommentFileSizeAuthor
views_title.diff893 bytesstockliasteroid
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

KarenS’s picture

Status: Active » Fixed

Merged this with the changes in #1238660: Choose the date format for the summary view of a date contextual filter to provide a single method of setting the title and the summary title.

Status: Fixed » Closed (fixed)

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