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.
For a custom content type, I have a computed field "Default Site" (machine name: field_default_site) that notes which site the user registered on (a.example.com, b.example.com, etc.). On a panels page I am trying to set the Canonical URL meta tag based on that value. When I use [node:field_default_site] it renders on the page as "Array" instead of the actual value.
Comments
Comment #1
DamienMcKennaI'm not sure that would be a Metatag problem, you might try installing the Devel module, go to one of the nodes and look at the Devel -> Token tab to see what it says. You may also have to customize the Token display for that content type and configure that field's display. Let me know those help.
Comment #2
DamienMcKenna