Thursday 05 July 2012 2:22:27 pm - 2 replies
Hi,
I'm trying to control my extensions' load order. I've done everything listed here: http://doc.ez.no/eZ-Publish/Techn...n/Extensions/Extension-load-ordering
Then, in my custom extension X, I have created an extension.xml that requires my custom extension Y. Didn't work. I then created an extension.xml in my custom extension Y, to explicitly name the extension in the XML format, in case this system only reads names from extension.xmls, and ignores the folder names. Didn't work.
Extension X and Y are not design extensions, they mainly consist of INI settings, and all I want is to have INI settings from extension X overwrite those from extension Y.
I'm currently at eZ Publish 4.7. Any secret tricks to get this working?
Modified on Thursday 05 July 2012 2:26:52 pm by Hein Haraldson Berg
Thursday 05 July 2012 5:27:03 pm
Hi Hein,
if I fully want to overwrite any templates etc. using extension.xml I use the lines below, which works for me:
<dependencies> <extends> <extension name="ezdemo"/> </extends> <extends> <extension name="ezflow"/> </extends> <extends> <extension name="ezteamroom"/> </extends> </dependencies>
references can be found in
doc/specifications/4.4/extension_ordering/extensionordering_design.rst
doc/features/4.4/extension_xml.txt
doc/features/4.4/extension_ordering.txt
Thursday 05 July 2012 9:13:31 pm
Linkage: Extension ordering docs @ Github
Thank you Sebastian! I changed from requires to extends (completely illogical in my mind?), and now it works like clockwork.
You must be logged in to post messages in this topic!