It seems like an oversight, but maybe I am missing something: it seems that the metatag_panels module only does token replacement, not the native panels replacement. The latter is a bit more versatile than tokens in many cases (think: views_context).
Is there a plan to add this?
Any suggestion where this should happen?
I guess somewhere in metatag_panels_ctools_render_alter?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | metatag-n2265453-4.patch | 2.28 KB | damienmckenna |
Comments
Comment #1
zd123 commentedIn order for ctools substitution to occur, metatag data must be passed to ctools_context_keyword_substitute() prior to running getElement() on the metatag instance in metatag_panels_ctools_render_alter().
Comment #2
mariusm commentedSuperb patch.
Please add to dev
Thanks
Comment #3
damienmckennaNeed to review it first ;)
Comment #4
damienmckennaSome small improvements.
Comment #5
damienmckennaCommitted. Thanks!