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.
Hi,
For some reason meta tags are not showing in in content types that use panels.
I've added a patch I created that solved the problem. In some cases $langcode is empty which results meta tags not showing in . When $langcode is set everything works fine.
the call is comming from metatag_entity_view($entity, $entity_name, 'full', NULL); in metatag.module
Eyal
Comment | File | Size | Author |
---|---|---|---|
metatag_fix.patch | 827 bytes | eyalev | |
Comments
Comment #1
DamienMcKennaThe problem stems from the face that Panels does not support multiple languages, so the $langcode disappears. This is a problem that IMHO needs to be fixed in Panels first.
Comment #2
Summit CreditAttribution: Summit commentedHi, Isn't this than a related issue through Ctools: http://drupal.org/node/1301908
Greetings, Martijn
Comment #3
DamienMcKennaGood find. Yes, please help review that issue.
Comment #3.0
DamienMcKennaAdded where the call is coming from
Comment #4
DamienMcKennaComment #5
DamienMcKennaThanks for the patch.
FYI please change the issue status to "Needs review" when you upload a patch, that tells the maintainer that you have a potential solution available, and triggers the automated tests to help check whether the patch will work.
Comment #6
DamienMcKennaAlso, there were other problems with beta7 that caused multilingual tags to not work, please test the latest -dev release to see if the problem is resolved. Thanks.
Comment #8
DamienMcKennaComment #9
DamienMcKennaPlease test the latest -dev release and #2178411: Metatags not diplaying when node content is empty, that might cover this issue.
Comment #10
DamienMcKennaComment #11
DamienMcKennaThis should be fixed in the latest -dev release, which will be the 1.0-rc1 release soon.