If possible, we should have MODx rewrite all weblink URLS in the frontend so instead of displaying their FURL they display the actual link.
-
MODX Staff
- 10,725 Posts
I think we should separate the friendly URL stuff from the core and allow a variety of methods and approaches to rewriting them via plugins. This would allow for rewriting URL’s with other, non-mod_rewrite based solutions and allow users more flexibility in how they use MODx link tags.
-
☆ A M B ☆
- 24,524 Posts
I considered that, but with the current state of MODx it would take a rewrite of the entire link-building section of the parser just to deal with weblinks. Document links are made out of the document ID or the alias; you’d need another whole block of code to deal with the document being a reference and the content is not an int nor does it have the [~...~] structure (both of which I have patched the parser to handle).
As far as separating the link-making code from the core, in my opinion it is such an integral part of the CMS functionality that it should stay in the core and not incur the extra overhead of external plugins.