Sunday 03 October 2010 11:05:34 am
Addition Info: If you want to provide a new DESIGN (besides standard) and in this design provide templates, do this: Create the following directory structure:
extension/newextension/design/foo/templates
extension/newextension/design/foo/stylesheets
extension/newextension/design/foo/javascript
extension/newextension/design/foo/images Put your design ressources (js, css, img) into the proper directories. Put your Template into
extension/newextension/design/foo/templates/somefolder/list.tpl And change/edit/add the following ini files:
extension/newextension/settings/site.ini.append.php
[TemplateSettings]
ExtensionAutoloadPath[]=newextension and
extension/newextension/settings/design.ini.append.php
[ExtensionSettings]
DesignExtensions[]=newextension At last, make eZPublish do recognize the design "foo" by doing the following in your override site.ini or your siteaccess site.ini... Override site.ini:
settings/override/site.ini.append.php
[ExtensionSettings]
ActiveExtensions[]=newextension
[DesignSettings]
SiteDesign=foo Or when using the siteaccess site.ini:
settings/siteaccess/<NAME OF SITEACCESS HERE>/site.ini.append.php
[ExtensionSettings]
ActiveAccessExtensions[]=newextension
[DesignSettings]
SiteDesign=foo That should do the trick
Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613
|