Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.8.4
-
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/';