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

When I click eZ Logo in non vhost setup I'm not reddirected to /web folder

    Details

      Description

      After installing a ezdemo clean site in a non virtualhost setup

      Steps:
      1. Changed apache DocumentRoot to ezpublish5 site root
      2. Run the installation wizard using http://localhost/web/index.php
      3. Install site
      4. During the installation process copy .htaccess_root to .htaccess in ezpublish_legacy folder
      5. Open ezdemo front end
      6. Click on "eZ Logo" image

        Issue Links

          Activity

          Hide
          André Rømcke added a comment - - edited

          As for approach to solve this, JV will need to confirm, but as far as I got it we need to inject the root location (in case of multisite: content.tree_root.location_id defines the location, otherwise content root location which is usually location id 2) in the twig template to generate the correct path for it using path().

          Show
          André Rømcke added a comment - - edited As for approach to solve this, JV will need to confirm, but as far as I got it we need to inject the root location (in case of multisite: content.tree_root.location_id defines the location, otherwise content root location which is usually location id 2) in the twig template to generate the correct path for it using path().

            People

            • Assignee:
              Unassigned
              Reporter:
              Pedro Resende (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: