Panelizer pages are not loading the node specific meta tags.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | panelizer-support-1655410-5.patch | 1.42 KB | papagrande |
| #4 | panelizer-support-1655410-4.patch | 1.39 KB | papagrande |
| #3 | panelizer-support-1655410-2.patch | 866 bytes | rcaracaus |
| #1 | panelizer-support-1655410-1.patch | 5.98 KB | rcaracaus |
Comments
Comment #1
rcaracaus commentedI am not super familiar with the guts of this module or panelizer. There has to be a better way to do what I did, would love an explanation. But if anyone needs to get this working, it seems like this is working.
Comment #3
rcaracaus commentedDang, last patch had some code in it from a previous patch. I have made another one from a clean .module file.
Comment #4
papagrande#3 was helpful, but I went in a slightly different direction based on the work in #1363476-36: Panels integration - ensure meta tags work OOTB on entity pages. My patch is a bit hacky, but it's working for my environment where I have Panels, Panelizer, Page Manger, and Display Suite in use with Metatag.
Comment #5
papagrande#4 caused an error on node edit pages. I rerolled the patch.
Comment #6
damienmckennaRather than hacking away trying to get this working, and ultimately building work-arounds for an existing work-around in Metatag, the output logic has been re-written thanks to jenlampton and I'm hoping it works better now. Please try the latest -dev release and please let me know if it works as-is, and re-open the issue if it's still not working.
That said, please be aware that right now it doesn't let you override tags for taxonomy term pages due to a core bug, please keep an eye on #1700160: Support taxonomy term pages until taxonomy supports hook_entity_view() for further updates.
Comment #7
damienmckennaMarked #1655406: Panelizer pages not loading metatags as a duplicate.
Comment #8
damienmckennaRelated and honestly a higher priority: #1708718: Ensure Meta tags work OOTB with Drupal core
I'm going to fix that and then see how to resolve this issue.
Comment #9
01005 commentedI still can't get this to work. On panelized nodes og:image will be the site logo. I'd be OK with using #4 or #5 but I've tried both using 7.x-1.0-alpha6 of meta tags with the result that looking at a panelized node, the site crashes (Fatal error: Call to undefined function metatag_entity_view() in /home/a01005/public_html/maxflesch/sites/all/modules/metatag/metatag.module on line 799). The newest dev version doesn't solve the problem for me either. Do these patches work for everyone else? Any ideas what I could be missing
Comment #10
damienmckennaDuplicate of #1363476: Panels integration - ensure meta tags work OOTB on entity pages, please focus all efforts there.
Comment #11
damienmckennaDetag.