I am aware of that. It has to do with the crazy way Joomla!'s URL routing is implemented. The only ways to work around it are:
- Do not use SEF URLs at all (or use the pseudo-SEF URLs with /component/ in them). Drawback: the URLs are horrendous.
- Do not use a two-way URL router, instead use a caching router in the same way sh404SEF and other SEF components work. Drawback: this tends to break other, more important, features of the site.
- Hardcode the toolbar URLs. Drawback: it's difficult to implement and unmaintainable.
- Get mad at the dire situation of Joomla!'s URL routing and call for the implementation of a Unified Page Model which will solve this kind of issues once and for all. In the meantime, clench your jaws and put up with the sub-par routing. Drawback: tickets like this, difficulty to get more people on board with the idea of doing a DEEP refactoring of the CMS.
I chose the last one. I'm stubborn, I'll keep fighting for it. If I lose faith I will go for the third option and beat myself for having to write code that will come back and bite me, with 100% certainty, in the next 1-2 years.
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!