Closed ChrisFrench closed 11 years ago
I added another file to the Library called route.php
https://github.com/dioscouri/library/commit/6d14ae22a3e1bd8e03afede9fd2e44ceb3b9deaa
The idea atleast is to solve always having to try to add a config option for a itemid on a few urls.
For example,
in Ambra login view, we have urls to other view like
reset, remind and register.
for most sites someone will probably create a menu item for at least register,
but with normal jRoute you would end up with a url like this
site.com/login/register
instead with DSCRoute,
you will get
site.com/register
What i am wondering you see any problems with querying for the itemid like this?
After working on jom_social, They do the exact same thing but it is called CRoute();
But they way they do it is probably a bit better they just get the itemid and than add it to a Jroute call
I added another file to the Library called route.php
https://github.com/dioscouri/library/commit/6d14ae22a3e1bd8e03afede9fd2e44ceb3b9deaa
The idea atleast is to solve always having to try to add a config option for a itemid on a few urls.
For example,
in Ambra login view, we have urls to other view like
reset, remind and register.
for most sites someone will probably create a menu item for at least register,
but with normal jRoute you would end up with a url like this
site.com/login/register
instead with DSCRoute,
you will get
site.com/register
What i am wondering you see any problems with querying for the itemid like this?