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

Edit icons in "List of used templates" in debug are broken.

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.10.1, 3.9.5, 4.0.1, 4.1.0alpha1
    • 3.8.4
    • Misc
    • None
    • Version: 3.8.4
      PHP Version: 4.4
      Webserver: apache2
      Database: mysql5

    Description

      In file eztemplatesstatisticsreporter.php the edit tool paths miss the leading / , making them relative. Thus they dont work when on any subpage of the site.

      To reproduce, set "Debug output" and "List of used templates" on on
      http://demo.ezpublish.no/corporate_admin/
      and then go to
      http://demo.ezpublish.no/corporate/galleries/landscape

      Hover over edit icon, note that path includes "/galleries/"

      Fix: set as follows:
      $templateViewFunction = '/visual/templateview/';
      $templateEditFunction = '/visual/templateedit/';
      $templateOverrideFunction = '/visual/templatecreate/';

      Attachments

        Activity

          People

            cyberwolf cyberwolf
            zurgutt zurgutt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: