modx - languageContext in front of [[+uri]] to fix the link -


i use pdotools, pdoneighbors , babel multi-language website on modx revo. in pdoneighbors define chunks.

[[pdoneighbors?     &sortby=`menuindex`     &sortdir=`desc`     &resources=`-23`     &tplprev=`tpllinkzuruecken`     &tplup=`tplebenehoeheren`     &tplnext=`tpllinkvoren`     &tplwrapper=`tplverpackung` ]] 

everything works, except in templates have put language code in front of url:

tplebenehoeheren

href="/en/[[+uri]]" 

i use http://domainname.de/lanuagecode/pagetitle.html url. might image setting different chunks every language-code not effective. there possibilty language-context (path) put in babel in system/contexts in front of [[+uri]] ? this:

tplebenehoeheren

href="[[+languagecontext]][[+uri]]" 


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -