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

Add the main location to the ContentView parameters by default

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Critical Critical
    • None
    • 2015.12
    • Platform stack

    Description

      If no location or locationId is passed to the view controller, the location view variable won't be set, and getting it requires a custom controller.

      By default, the main location, if any, of the content should be fetched (careful with permissions).

      It should be, from PHP or twig, possible to know if the location is here by default, or if it was explicitly passed to the controller.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bertrand.dunogier@ibexa.co Bertrand Dunogier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: