Metatags aren't showing in views. Is there a way to make it worked?
Let's see if this could work.
This patch is part of the #1day1patch initiative.
Not sure if I am experiencing the same issue. I'm using metatag version 7.x-beta7 and although meta tags do show up, I can't get the term name to show up in meta tags. When I disable the tvi module, the meta title (aka page title) does include the term name by default. The meta description is fine though. I checked the default Taxonomy Term view provided by Views (though I do not have this Taxonomy Term view enabled), and its meta title settings use "[view:title]" so I used the same thing in my view and it made no difference. "[current-page:title]" also does nothing.
The metatag module does not expose term-related tokens in the views meta token browser, so I don't expect tvi would need that. But somehow the metatag module is grabbing the term name and passing it into the rendered view, and tvi is stopping that from happening, I think.
Anybody else experience this?
I got it working. The trick was to use a view of Content rather than a view of a Term, and then in the Contextual Filters I used a Taxonomy Term ID (with depth) as well as a depth modifier.
Has anyone tested the patch in #1?
I haven't, because I'm not sure I was experiencing exactly the same problem.
Patch #1 works for me!
I had the same issues and with this patch I confirm it's working.
Also I updated the patch to match the last dev versions of the module.
#9 patch works.. tested with 7.x-1.0-beta4
I can also confirm that the patch in #9 solved the issue for me. Once applied, the meta tags on my taxonomy term appeared in the source code.
Lots of people have tested this already
so its ready to be committed
(seems like a trivial change)
applies cleanly to beta4
I think it was assigned to this person by mistake
so unassigned to get the maintainer's attention
Issue #1931836 by DavidPetit, DuaelFr | kszyhu: Fixed metatag module...
Automatically closed - issue fixed for 2 weeks with no activity.
This issue has no child issues.
Drupal is a registered trademark of Dries Buytaert.