Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-26188

Twig globals are not available in fields templates

    XMLWordPrintable

    Details

      Description

      The ezpublish or app twig globals are not available in field templates.

      This is because ez_render_field uses the internal Twig displayBlock() method, that doesn't merge in global variables, unlike the display() one.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            bertrand.dunogier@ez.no Bertrand Dunogier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: