Please take a look at the thread named "Routing JApplicationWeb" on the platform mailinglist. The proposed code allows among other things exactly that. Right now its not possible to override a core roter without overriding the complete JRouter class. The proposed code would only include the core router if it isnt loaded already.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-cms/-/syzmhRxhPk0J.
To post to this group, send an email to joomla-...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-cm...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
So far the router has been mostly ignored by the people in charge. I'm more than happy to invest more time into this and bring everything up to speed if I get a positive feedback along the line of "The concept looks good, we want to see that in the platform/cms. However, your actual implementation sucks." That is something that I can work with. Right now I didn't get any feedback at all about this.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-cms/-/EYPRblAVmywJ.
That indeed allows you a little bit of flexibility, but you still can't switch off the menu system or override just one component router. Without having the code in front of me and relying on your statement that the parserules array is executed first, you'd have to replicate the whole menu item detection logic before you even know if the URL is for the component that you want to modify. If the rules would be run after the hardcoded behavior, you wouldn't be able to prevent the core routers from being executed first.
Fact is, that I have to write a lot of code to achieve even minor changes to the routing system.
The HP router plugin that I wrote for 1.5 is one fugly piece of code, but its the only way to achieve something like that simple thing in the current environment.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
That's my problem... I can't quite get from all this raw code to
something intelligible for a wiki. I'm more than happy if anyone wants
to take it and clean it up..or post it to the wiki as is.
[Erm, that's my OTHER problem, I hate wiki interfaces and just can't
figure them out. Right now I'm learning ONE wiki interface, Githubs,
and if I accomplish that I'll be happy...dunno why, just some sort of
mental block].
That indeed allows you a little bit of flexibility, but you still can't switch off the menu system or override just one component router. Without having the code in front of me and relying on your statement that the parserules array is executed first, you'd have to replicate the whole menu item detection logic before you even know if the URL is for the component that you want to modify. If the rules would be run after the hardcoded behavior, you wouldn't be able to prevent the core routers from being executed first.
Fact is, that I have to write a lot of code to achieve even minor changes to the routing system.
Hi All
Hope you had a wonderful week-end, i would like to update our contact page, where can i edit from.
*grumble*...I learned something..... I was trying to avoid that!Made some updates:Added links to some categories so it links forward/back. Updated the title to bring it in line with existing titles. Learned that in order to make code blocks, indentation and no blank lines is important. Originally my code was broken into separate blocks, removing blank lines and making sure every line is indented fixed that.
Added a talk page in case anyone wishes to comment on whether global $app is preferred or if something else should be used.The main thing I hate with Wiki's is that the page creation process has never been intuitive to me. I'd also love if http://docs.joomla.org was moved into the Joomla-CMS repository in github. docs.joomla.org can be mapped directly to the github wiki and then I wouldn't have to have yet another account with yet another password....and yet another user profile. It would also then be simpler to link wiki articles directly to the code source in github[and vice versa. Ie in the example plugins, links to the appropriate wiki pages would make things interactive.]
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-cms/-/WxQlNnseU4AJ.
To post to this group, send an email to joomla-...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-cm...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
The @link statements go in the docblocks in the source code. These are automatically parsed into HTML links by phpDocumentor when it generates api.joomla.org. Or indeed by any other software that parses the docblocks.
Although the GitHub wiki is capable of handling a subset of MediaWiki syntax (although it doesn't by default), it is a long way from being able to handle our current documentation.
The main thing I hate with Wiki's is that the page creation process has never been intuitive to me. I'd also love if http://docs.joomla.org was moved into the Joomla-CMS repository in github. docs.joomla.org can be mapped directly to the github wiki and then I wouldn't have to have yet another account with yet another password....and yet another user profile. It would also then be simpler to link wiki articles directly to the code source in github[and vice versa. Ie in the example plugins, links to the appropriate wiki pages would make things interactive.]