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

Unable to override pagelayout.tpl if the file is edited first

    XMLWordPrintable

Details

    Description

      If you try to override the the pagelayout.tpl after editing it, you'll get the following error

      "
      Error: 	Mar 26 2013 11:04:37
      
      Could not open file , check read permissions
      "
      

      Steps:

      1. Make a clean installation of eZ Flow
      2. Enable DebugOutput, DebugRedirection and ShowUsedTemplates in override/site.ini.append.php
      3. Login in eZ Flow frontpage
      4. Click the "Edit" pencil right next to pagelayout.tpl file
      5. In the Footer area, where you have

      <!-- Footer script area: START -->
      {include uri='design:page_footer_script.tpl'}
      <!-- Footer script area: END -->
      

      Change it by

      <!-- Footer script area: START →
      {include uri='design:page_footer_script.tpl'}
      <!-- Footer script area: END -->
      

      6. Click on "Apply changes" button
      7. Choose "eng", from the Siteaccess drop down list
      8. Click on "Set" button
      9. Click on "New override" button
      10. Choose "ezflow" from the Extensions drop down list
      11. Fill in the "Filename" field with "my_override"
      12. Choose "Copy of default template" bullet
      13. Click on "OK" button
      14. Verify the Error: in the reddirect page

      Attachments

        Activity

          People

            Unassigned Unassigned
            pedro.resende-obsolete@ez.no Pedro Resende (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: