Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2009 at 02:39 UTC
Updated:
19 Jul 2010 at 21:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
merlinofchaos commentedThe title in the preview reflects the administrative title of the page, not the title that will actually be used when the page is viewed.
Comment #2
dalehgeist commentedUPDATE: This is true for the preview in the Panels UI, but it is not unique to the Taxonomy term template. It's true for all Panels pages, in preview mode.
The title shows up as expected when I "Manually set" it for a Node template variant and view the node. However, due to a different bug, or user error, when I go to view the Taxonomy term page, it displays the default Drupal page, and not the Panel page. I will do some more research on this, and if I don't find a fix or workaround, I'll post it as a bug.
The bug as reported should be amended to "...not working in Preview mode" rather than "...not working in taxonomy term template."
Comment #3
merlinofchaos commentedStill by design as per #1.
Comment #4
hawleyal commentedI experienced the same symptoms.
Some more information on the bug.
I don't have any node style views.
However, when I upgraded views, all my taxonomy pages now show "Taxonomy term" as the page title no matter what I set in the pane title. Manually set, pane title, no title all display the same thing inline.
However, my page title setting does effect the meta <title/> tag.
Also, I am displaying the page title via the content, not the theme.
Thanks.
-AH
Comment #5
stratejist commentedMy status as same. I have same problem what is solution ?
Comment #6
peter törnstrand commented+1. Same problem as #4 ... the element "Page title" only shows "Taxonomy term" whatever the settings.
Comment #7
jdwfly commentedI just upgraded to the latest and this is a definite problem. I am manually setting the page title to be %term:name but it shows Taxonomy term instead of substituting it. Inside the title tag it is fine but on the actual page between the h1 it is not working. It used to work so one of the recent upgrade must have broken it.
Comment #8
dawehnerkilles and merlinofchaos suggested to revert to the previous version:
This patch keeps the TODO and the check whether the title is empty
Comment #9
jdwfly commentedPatch applied clean and fixed my problem.
Comment #10
dawehnerThis is a ctools patch
Comment #11
dawehnerBetter title
Comment #12
grendzy commentedI tried the patch in #8, and it fixed the title on the search page #817810: Search page title changes to Home (which was marked as a duplicate of this issue).
[EDIT] - never mind, this doesn't help the search problem, it only looked that way because I was using git-bisect and hadn't rebuild the menu_router since applying this patch.
Comment #13
merlinofchaos commentedThe problem with reverting this (and I have to, I admit) is that we go back to the problem of having an empty h1 on pages with no title.
We need to see if we can integrate the markup into the token itself. The token system allows callbacks, so I believe our strategy is going to have to be to create a callback that can check if the title is empty or not, and add the appropriate markup there.
Comment #14
omerida commentedThe patch in #8 fixed this for me as well. On a node view page instead of getting the actual title of the node, it was displaying the string "View"
Comment #15
merlinofchaos commentedThis should be awesomely fixed now.