Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi,
So, I've:
- Upgraded to Drupal 7.17-dev
- Upgraded to -dev build of MetaTag (although beta1 is probably the same)
- Upgraded to -dev build of entity.module
- Re-saved the default settings for the "Page Title" taxonomy terms
- Re-saved my taxonomy term page
- Flushed all the caches
- Reinstalling the module (after trying the above)
- (note) page_title.module is not running
- (note) overrides for taxonomy/term/% have been disabled - using core taxonomy term pages
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 CreditAttribution: 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 CreditAttribution: lyricnz commentedNeed more information about your implementation. Add some debugging, or try on a brand new site to reproduce?
Comment #3
lyricnz CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: mmilo commentedFixed typos