Not certain if this is a bug or operator error.
Per the project page:
Views Integration: Page Title provides its own Page Display which allows you to provide a Page Title separately to the normal Title. There is also an option to provide a Page Title for each argument as well. This feature is still early and in need of testing. Feedback would be appreciated!
My Issue:
- PageTile 7.xx-2.7 (latest) Stable
- Views 7.x-3.3 (Latest) Stable
- Trying to set a custom page title that is not the same as the view title. I.e. what is shown in the and should NOT match.
Problem:
Do not see any place with the views admin screen to set the custom title.
All I see is "Title" with the help text of "This title will be displayed with the view, wherever titles are normally displayed; i.e, as the page title, block title, etc."
Thanks@
Hg
Comments
Comment #1
brennino commentedSame problem here but with drupal 6, I can't see how to set the title for views.
Perhaps the views integration don't work with views 3 and works only with views 2.
Is there someone else that has the same problem or we haven't simply find the right place to search? Is there a solution for that?
Thanks
Comment #2
Nicolas_ii commentedThis is not well documented.
All you have to do, is to add a new display when you create your view, and you'll see a display with the name Page (Page Title). Then, in that display you'll be able to edit de page title.
Comment #3
hyperglide commentedThanks for the reply.
Adding an image to help others along.
However when I do add the
Page (with Page Title)I do not observe any location to edit the PageTitle independent of the View Title -- By view title I am not referring to the admin but rather similar to the node title, usually wrapped in an .2 More images for reference.
Comment #4
Nicolas_ii commentedI took and image, it's where it says "Page Title Pattern" (just before Pager, Header and Footer)
Comment #5
hyperglide commented@Nicolas_ii Thank You! Appreciate the help.
Comment #6
sophiekovalevsky commentedThanks, this issue solve the problem.
Comment #7
ellelong commentedI have a installed the Page Title module to a Drupal 7 site. It works fine for regular pages or other content, but I can't seem to get the title to change for a view using the "Pattern" option.
What am I missing?
Comment #8
marc angles commentedhi, if I understand correctly, I need to redo all my views display to have access to this wonderful piece of feature...
And, after several tests I cannot make this work anyway. A bit sad.
Comment #9
andrewtweber commentedI am not seeing that Page Title Pattern option at all...
Comment #10
osopolarThere are several people, including myself, that don't get it work. I use the display
Page (Page Title)but the default title is shown anyway. Can anybody confirm that this feature is still working under PageTile 7.x-2.7 and Views 7.x-3.7?Comment #11
kristin.e commentedPage with Page Title is not available in Views 7.x-3.7 from the drop-down list under 'Add'. I would like to have a page-title on my page view display.
Comment #12
Marko B commentedDoesnt work. Anyway idea is not good, it should have replacement patterns available for using, so you could use some refrences/relationships etc and not tokens.
Just use this https://www.drupal.org/node/1176080 and forget this module for that purpose.
Comment #13
reallyordinary commentedFound an easy solution for setting a contextual title for a view -> http://drupal.stackexchange.com/questions/82957/dynamic-view-title-from-...
Solution doesn't use this module. Just uses default Views stuff.
All you do is: In the contextual filter settings, click "Override title" and set your argument. And that's it.
Comment #14
dx007 commentedSolution #13 Works fo me!
Thanks!
Comment #15
dhruv panchal commentedYou can set views page title programmatically by using below hook in modules.
function MODULE_NAME_views_pre_view(&$view, &$display_id, &$args) {
if ($view->name == 'VIEW_MACHINE_NAME') {
$view->display[$view->current_display]->display_options["title"] =
$view->display[$view->current_display]->handler->options["title"] =
$view->human_name .' - '.$_GET['field_video_by_event_value'];
}
}