Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by nabo

  1. 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
  • Create New...