Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LangRouter/Babel compatibility #66

Open
zaigham opened this issue Aug 10, 2017 · 0 comments
Open

LangRouter/Babel compatibility #66

zaigham opened this issue Aug 10, 2017 · 0 comments

Comments

@zaigham
Copy link

zaigham commented Aug 10, 2017

Currently Redirector doesn't really work with LangRouter, and possibly Babel/MultiContext installations.

eg, ru/old-url -> ru/new-url doesnt work.

Although it saves the information correctly when saving the document. But when it gives back the "target", it is without the "cultureKey" eg. site.com/new-url hence it fails.

Ref:
Jako/LangRouter#5

$target = $redirect->get('target');
$modx->parser->processElementTags('', $target, true, true);

@zaigham zaigham changed the title LangRouter compatibility LangRouter/Babel compatibility Aug 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant