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,
first of all thanks for this awesome module.
I have following problem with Panels Everywhere. I use PE to render the page templates for the front page. When I have metatag panels submodle active and enable the Metatag Configuration for the Variant that serves the frontpage the metatags that I specify in the PE UI are not taken.
Instead what is shown are the default metatag and the title from the default content feed.
Comments
Comment #1
DamienMcKennaThanks for reporting the bug, I'll definitely work on this soon as PE has become part of my standard toolset.
Comment #2
DamienMcKennaI think this should work with the current -dev release, please give it a try and let me know if it's working now.
Comment #3
drupov CreditAttribution: drupov commentedHi,
using the latest dev of metatags and latest stable of PE it doesn't seem to work.
The metatags settings from the Metatag configuration (admin/config/search/metatags) seem to overwrite those from the PE configuration.
Generally this is acceptable, but if you use more than one variant for the front page it would be good to configure the metatag settings from the PE settings.
Comment #4
drupov CreditAttribution: drupov commentedHi,
just checked, same case as #3 with latest dev of PE and (of course) latest dev of metatag.
Comment #5
drupov CreditAttribution: drupov commentedComment #6
DamienMcKennaComment #7
apex_son CreditAttribution: apex_son commentedHey Damien, wondering if you've made any progress on this.
Comment #8
gejo CreditAttribution: gejo commentedI've ended up doing this programmatically for the front page.
Here's my workaround.
In template.php:
If you want to add metatags per path: