Dave224:
I set up an encapsulated plugin with a key alphabetically higher than POSM with modified extra_definitions and css files and enabled the plugin. The style was changed but not the text. Not sure why yet.
Dave
So I noticed while my encapsulated plugin's key was alphabetically higher, the plugin's name was not. So updated the plugin changing the version in the directory and in the manifest file, changing the name to be alphabetically higher than POSM. I upgraded the plugin in admin successfully, but the name did not change to what was in the manifest file. I changed the name manually in the database in table plugin_control. Now the revised name appeared in the admin plugin manager. But now the style was not overridden like it was with my original plugin. So I conclude that the style is overridden by the plugin with the lowest name alphabetically, not the highest key alphabetically. Summary:
Name | Key | Result
POSM Overrides | ZPosmOverrides | Style overridden
Z POSM Overrides | ZPosmOverrides | Style not overridden
For reference POSM name and key are:
Products' Options' Stock Manager | POSM
(I wonder how you insert tabs in these posts???)
The text was not overridden in either experiment.
Dave