Details
-
Improvement
-
Resolution: Unresolved
-
Low
-
4.0.7, 4.4.1, 4.5.0, 4.6.0
-
None
Description
The template management does not show up the correct templates and throws errors if one switches between siteaccesses.
The problem is as follows:
One has a settings extension in which the settings for the different siteaccesses are configured. Especially those for the design. Example:
extension/ezsettings/settings/siteaccess/ezwebin_site/site.ini.append.php
extension/ezsettings/settings/siteaccess/ezwebin_admin/site.ini.append.php
This means in settings/siteaccess/<SITE>/site.ini.append.php there are no design settings. If you try to make use of the template management functions, these will fail with e.g.
Notice: Undefined index: template in /home/ablock/ez/websites/htdocs/ezp406/ezpublish-4.0.6/kernel/visual/templatelist.php on line 63
and
Error: eZTemplateDesignResource::overrideArray, tried files Aug 06 2009 13:45:17
design/admin/override/templates/line/article_subpage.tpl, extension/ezdhtml/design/standard/override/templates/line/article_subpage.tpl, extension/ezodf/design/standard/override/templates/line/article_subpage.tpl, design/standard/override/templates/line/article_subpage.tpl