Closed (works as designed)
Project:
Metatag
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2012 at 16:53 UTC
Updated:
28 Dec 2012 at 20:11 UTC
Hi,
So, I've:
However I *still* can't get a working <title> on my taxonomy term pages. I've put a dummy title (not using tokens) and it still won't show up!
It's currently just showing [site:name] (no [term:name]), and no dummy title (ex. "random word").
Thanks!
Comments
Comment #1
lyricnz commentedAttempted to reproduce:
- D7 dev, fresh rebuild with "minimal" profile
- enable Taxonomy module
- enable D7 dev Meta Tags, which required Token (7.x-1.4) and Ctools (7.x-1.2)
- enable Devel/Devel Generate
- generated a vocabulary and 10 terms
- override the taxonomy term configuration at /admin/config/search/metatags/config/taxonomy_term
* set title to: [term:name] | [site:name] - it works!
- check output at /taxonomy/term/8: wobupropr | Site-Install - it works!
...
- added+enabled D7 dev of Entity API / Entity Token
- checked term page, title still OK.
I suspect something else on your site is setting the page title. Perhaps you can add some debugging to http://api.drupal.org/drupal_set_title function?
Comment #2
lyricnz commentedNeed more information about your implementation. Add some debugging, or try on a brand new site to reproduce?
Comment #3
lyricnz commentedAre you overriding the term page output? #1310780: Metatags not working on overwritten templates. Try setting a core theme like bartik.
Comment #4
mmilo commentedBah. I was using Taxonomy Display, and one of the hooks was causing the issue.
I was trying to remove the title on the page, so I cleared the term. I guess it affected the token on the page.
Thanks!
Comment #4.0
mmilo commentedFixed typos