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

Allow multisite with different rootLocationId

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: High High
    • 5.2, 2013.09
    • 5.2-alpha1
    • DemoBundle

    Description

      change root location Id is not out of the box.
      In the pagelayout.html.twig of the demoBundle, render function for the menu is called with a hard code location Id (location_id:2).
      So, if we change it in a yml file, it won't have any effect.
      We might use config Resolver to get root location Id of the current siteaccess instead :

      $resolver = $this->container->get( 'ezpublish.config.resolver' );
      $locationId = $resolver->getParameter( 'content.tree_root.location_id' );

      Attachments

        Activity

          People

            Unassigned Unassigned
            Florent.Huck-obsolete@ez.no Florent Huck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: