Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I use the "metatag" module with a node and no problem with the display by default.
I use also the "display suite" module to do a particular display of this node.
Problem : The metatag don't appear in this display (the display do with "display suite" module).
Sommeone has an idee to solve my problem ?
Thanks
Comment | File | Size | Author |
---|
Comments
Comment #1
DamienMcKennaAre you using any custom page.tpl.php or html.tpl.php files that would affect these pages?
Is the problem that the meta tags do not display when the node's display *is* managed by Display Suite, or when the display is *not* managed by Display Suite?
Comment #2
thfalvar CreditAttribution: thfalvar commentedI don't use a special custom page.tpl.php or html.tpl.php
There are not any problem when the node's display *is not* managed by display suite
But when the node's display *is* managed by display suite, the metatag "Bublin Core" not appear.
Comment #3
thfalvar CreditAttribution: thfalvar commentedPrecision : My problem with "metatag data" focuses on "Dublin Core", the "Global" metatag data is good even with the module "Display Suite" . My only problem is (in my case) the "Dublin core" data. That's why I think it more of a problem with module "Metatag" and submodule "Dublin Core" that "Display Suite" .
Comment #4
DamienMcKennaYou shouldn't be having a problem with just the Dublin Core, unless something is borking theme_metatag_dc().
Comment #5
DamienMcKennaComment #6
thfalvar CreditAttribution: thfalvar commentedExcuse me I was busy patching the core 7.32 and 7.33 . I have not touched anything in the metatag_dc.module file. It may be a bad use of my share of the metatag module. I 'll try to take it all quietly . Thank you for your help.
Comment #7
thfalvar CreditAttribution: thfalvar commentedI just reinstalled Metatag and rerapamétrer, but I still have the same result. With the type of content I have the tags "Dublin Core", but with the display view suite I "global variables" and not the "Dublin Core". I enclose my files because I may be user error. Again thank you for your help.
Comment #8
DamienMcKennaSo it seems that Display Suite is not triggering the appropriate entity_view hooks that are necessary for Metatag to work. I'll have to look into this.
Comment #9
DamienMcKennaComment #10
thfalvar CreditAttribution: thfalvar commentedthanks a lot.