I am using views and drupal 7 . I pass arguments in the URL and i want this as view page title. This is possible by using override title check-box. But i want to modify this title. i.e do some formatting and some trim of the content and show only what i require as title. how can i do it.
Tell me more
×
Drupal Answers is a question and answer site for
Drupal developers and administrators. It's 100% free, no registration required.
|
If I'm not mistaken, you cannot so that in the UI. However, you can implement a hook in a custom module, take the available variables, apply your own logic and set the title you want. Here is an example: Set page title for view in Drupal |
|||||
|
|
There is now Page Title contrib module that offers Views integration as well. |
|||
|
|
|
You can implements with metatag module. This module allows you to automatically provide structured metadata. |
|||
|
|