I have small issue with one of 3rd party system plugins that fires before my system plugin.
We both use onAfterRoute
but if that plugin is ordered before mine, my override is not taking place.
I know that I can change the order of my plugin in backend and this way avoid the issue.
Thing I dont like is that I would need to do something like this in plugin install.script.php to make sure my plugin always fires first
$q->set(array('enabled = 1','ordering = -1000'));
Yes , it is an ugly hack and another issue is that admin can still change the order.
So the question is , is it possible to do this from the system plugin itself?
Something in JDispatcher
maybe to order my plugin first?
Any help is appreciated!