1. Enable Taxonomy term template, create a new variant
2. Choose flexible layout, create a layout
3. Select "Manually set" title, enter a title
4. Using "Add content," add "Page title" to a region
5. Preview

Result: title says "Taxonomy term template"
Expected result: title is the one entered in Step 3 above.

CommentFileSizeAuthor
#8 ctools-page_title.patch1006 bytesdawehner
#7 Capture.JPG26.22 KBjdwfly

Comments

merlinofchaos’s picture

Status: Active » Closed (works as designed)

The title in the preview reflects the administrative title of the page, not the title that will actually be used when the page is viewed.

dalehgeist’s picture

Status: Closed (works as designed) » Active

UPDATE: 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."

merlinofchaos’s picture

Status: Active » Closed (works as designed)

Still by design as per #1.

hawleyal’s picture

Status: Closed (works as designed) » Active

I 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

stratejist’s picture

My status as same. I have same problem what is solution ?

peter törnstrand’s picture

+1. Same problem as #4 ... the element "Page title" only shows "Taxonomy term" whatever the settings.

jdwfly’s picture

Version: 6.x-3.2 » 6.x-3.5
StatusFileSize
new26.22 KB

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

dawehner’s picture

Status: Active » Needs review
StatusFileSize
new1006 bytes

killes and merlinofchaos suggested to revert to the previous version:

This patch keeps the TODO and the check whether the title is empty

jdwfly’s picture

Patch applied clean and fixed my problem.

dawehner’s picture

Project: Panels » Chaos Tool Suite (ctools)
Version: 6.x-3.5 » 6.x-1.x-dev

This is a ctools patch

dawehner’s picture

Title: "Manually set title" not working in taxonomy term template » The page_title.inc plugin does not display the set page title.

Better title

grendzy’s picture

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

merlinofchaos’s picture

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

omerida’s picture

The 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"

merlinofchaos’s picture

Status: Needs review » Fixed

This should be awesomely fixed now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.