It works by placing it in the settings/override folder. However, I'm working on a multisite installation and I'd like to override it for each siteaccess independently.
You cannot override each siteaccess independently.
Order of overrides is:
override > extension > siteaccess
So, since zone.ini is in an extension, you cannot override it in siteaccess nor extension, you can just override it by the settings/override folder. I've got the same problem with ezjscore.ini. I wanted to have different javascript library in frontend and backend siteaccesses.
It is not possible in standard way but a hack exists.
Do you know which instruction you need to override? You can delete this instruction in /extension/ezflow/settings/zone.ini and add it in:
So, since zone.ini is in an extension, you cannot override it in siteaccess nor extension, you can just override it by the settings/override folder. [...]
This is not exactly true.
If you are careful about loading order of your extensions, settings in one extension can take precedence over settings from another one.
Support for this has improved in 4.4, since now extensions can declare their dependencies and have the correct loading order automatically calculated
Principal Consultant International Business
Member of the Community Project Board
Hello Gaetano,
thanks for your precision. I'm developping an extension which works only with jquery et I tried to set PreferredLibrary to "jquery" in extension/<my_extension>/settings/ezjscore.ini.append.php but javascript main library remains "yui3". I'm going to try again in 4.4 with an xml dependency file to see what happens.
--
Developer at Open Wide
You must be logged in to post messages in this topic!