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

Add a reliable way to detect eZ Platform Admin UI siteaccess

    XMLWordPrintable

Details

    Description

      It is often needed to detect that the currently displayed page is part of the admin interface.

      For example, integration of Netgen Tags into Admin UI uses an event listener to inject a different pagelayout into tags admin interface based on which context it is running in (Platform UI, Admin UI, Netgen Admin UI, standalone).

      A nice way to detect that current siteaccess is in fact an Admin UI siteaccess would be to put a flag in the request attributes, which can be queried at any time in custom code.

      Attachments

        Activity

          People

            Unassigned Unassigned
            f8f4635f-c125-4f25-94af-5c94e74ef8c1@accounts.ibexa.co Edi Modrić
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: