Forums / Developer / Design extension
David Santiso
Sunday 13 February 2011 4:59:54 am
Hi,
I've started to develop a design extension.
<?php /* [ExtensionSettings] DesignExtensions[]=myextension */ ?>
[ExtensionSettings] ActiveExtensions[]=myextension
If it worked, the object that uses this template should be blank?
It continue using the template overwritten.
Have I done something wrong?
Thanks,
David
Carlos Revillo
Sunday 13 February 2011 6:55:06 am
Yes. i think it should be blank. maybe you can try just adding an 'a' to the template. it won't matter it is only an 'a' or is empty. it will show what it's in that template, if the template is requested.
Sunday 13 February 2011 7:16:19 am
It read the override template "design/ezflow/override/templates/mytemplate.tpl".
Franck Magnan
Sunday 13 February 2011 8:18:36 am
Hello David,
if you want eZ Publish take your extension template instead of ezflow template, you must place your extension after ezflow extension in the "active extensions" list (in override/site.ini.append.php) or edit extension.xml file to deal with dependencies between your extension and ezflow extension.
You may take a look at this thread to find more info
-- Developer at Open Wide
Sunday 13 February 2011 9:36:00 am
I've already put after ezflow:
<?php /* #?ini charset="utf-8"? [ExtensionSettings] ActiveExtensions[] ActiveExtensions[]=ezjscore ActiveExtensions[]=ezstarrating ActiveExtensions[]=ezgmaplocation ActiveExtensions[]=ezflow ActiveExtensions[]=ezwt ActiveExtensions[]=ezwebin ActiveExtensions[]=ezie ActiveExtensions[]=ezoe ActiveExtensions[]=ezodf ActiveExtensions[]=myextension ... */ ?>
I've created these override templates regardless of any extension.
extension.xml?