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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

brennino’s picture

Same 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

Nicolas_ii’s picture

This 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.

HyperGlide’s picture

Thanks for the reply.

Adding an image to help others along.

Page Title

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.

Page

Title

Nicolas_ii’s picture

FileSize
5.06 KB

I took and image, it's where it says "Page Title Pattern" (just before Pager, Header and Footer)

HyperGlide’s picture

Status: Active » Closed (works as designed)

@Nicolas_ii Thank You! Appreciate the help.

sophiekovalevsky’s picture

Thanks, this issue solve the problem.

ellelong’s picture

I 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?

Marc Angles’s picture

hi, 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.

andrewtweber’s picture

I am not seeing that Page Title Pattern option at all...

osopolar’s picture

Title: How to set the Page Title In Views (PageTile 7.x-2.7 and Views 7.x-3.3) » How to set the Page Title In Views (PageTile 7.x-2.7 and Views 7.x-3.7)
Issue summary: View changes
Status: Closed (works as designed) » Active

There 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?

kristin.e’s picture

Page 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.

Marko B’s picture

Doesnt 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.

reallyordinary’s picture

Found 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.

dx007’s picture

Solution #13 Works fo me!
Thanks!

Dhruv Panchal’s picture

You 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'];
}

}