Forums / Developer / extension.xml / Comment66335

Author Topic

André R.

Wednesday 02 March 2011 3:45:39 am

Comment66335

This was what something like this should cover:

<dependencies>
        <requires>
            <extension name="ezjscore" />
        </requires>
        <extends>
            <extension name="ezjscore" />
        </extends>
    </dependencies>

As requires was intended to only make sure extension is not loaded (with warning/error) if whatever it requires is not loaded.
If that does not work, then you should report a bug for it (and refer to this thread).
(The reason why it migth not work is that we went from a after/before logic to requires/uses/extends, but internals are still using simple after/before logic)
Work around is to only specify extends I guess, so it forces your extension to be loaded after ezjscore.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom