Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.0-rc1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Aug 2011 at 15:32 UTC
Updated:
10 Oct 2011 at 18:31 UTC
Hi,
I created a view with 3 pages for the following example paths
node/%/abc (view title abc)
node/%/def (view title def)
node/%/ghi (view title ghi)
and when I visit the view pages all titles (both page & html titles) are displayed correctly
when I visit node/X then the node title is displayed correctly but
the html title is 'abc' (browser window title)
I guess taken from the 1st view in alphanumeric sort
Cheers,
Dimitris
Comments
Comment #1
dawehnerWhat path do you have defined in your view?
It seems to be that you are too unspecific.
Comment #2
jimkont commentedit was node/%/xxxx
and I changed it to /xx-node/%/xxxxx it case that was the reason
this is the full view code in case it helps
cheers,
Dimitris
Comment #3
dawehnerThis somehow can't be, because if a view is not rendered the code is not executed and so the title can't be changed.
Could it be that the view took over the rendering of this certain page?
Comment #4
jimkont commentedHi again,
I think I found what causes the problem.
Inside the "top page" I have a block that execute the views of the subpages, and if they return results they display a menu item
This is normal behavior? If yes, Is there a workaround for this?
Thanks!
Dimitris
Comment #5
dawehnerWell this display is a page display and a page dispaly always sets the page title... One way to go around would be to use some other kind of display to embed into your site. http://drupal.org/project/embed_views would probably perfectly fit to your needs.