nabo Posted November 3, 2016 Posted November 3, 2016 I installed the ProcessRedirects module from @apeisa It's a simple and brilliant module and work perfectly. I try to extend it adding a multi-language functionality. I add this rows to the module to create select options with current active languages if (wire('modules')->isInstalled('LanguageSupport')){ $field = $this->modules->get("InputfieldSelect"); $field->label = 'Language'; $field->attr('id+name','redirect_language'); $field->addOption(''); foreach(wire('languages') as $l) $field->addOption($l->id, $l->title); $form->add($field); } I would like to select a page, than choose a language to return correct language url For example, if I choose the "About" page and the German language, the result must be "/de/uber/" Unfortunately javascript that bind "pageSelected" function return the default page url
adrian Posted November 3, 2016 Posted November 3, 2016 Just pinging @Mike Rockett who develops the Jumplinks module which is a much more feature-rich version of the Redirects module. I know he is working on a new version of JL - perhaps multi-language will make it in? 1
Mike Rockett Posted November 4, 2016 Posted November 4, 2016 10 hours ago, adrian said: Just pinging @Mike Rockett who develops the Jumplinks module which is a much more feature-rich version of the Redirects module. I know he is working on a new version of JL - perhaps multi-language will make it in? Indeed it will - but the plate has been filled once again, and haven't had a chance to do the refactoring mentioned on the roadmap before I continue with features. The composer issue kinda messed things up for me. Sorry for the delays... 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now