Hi,
I don’t know if some of you have the same question I have :
We re trying to improve some lacks in this multilang system.
Most of all the main lack is the (not) n
login management.
We are trying some handmade solution to deal with the routing to the correct
LOGIN page (wich is unique by definition in MODx) and that must be, now, in the
correct language too.
So we created in the folder that contains ’errorpage’ and some other stuff a ’go-login’ page wich is referenced into the MODx configuration as the "goto for login".
However we are now paining to recreate the
natural routing process of MODx:
- url requested (protected) -> redirection by MODx to the referenced page ’go-login’ ->back to requested page once loged
- Now we have introduced a supplementary level of redirection with a ’redirect’ snippet that goes to the current language login page. (checks language cookie...)
- At this point MODx will lost the original route process and won’t be able anymore to go back to the first requested page then,
- once the user has loged in, we should invent a process to recreate the re routing to the first requested url.
Well this is not done yet.
Any suggestion will be appreciated.
Thank you