Hi there,
I’ve got my website split up in 3 different languages, dutch, german and english. How I can use Wayfinder in such a way that for instance in the german section I only get to see the german pages. Or... do I have to install a different modx database for each language?
Is there besides a ’startid’ also an ’endid’ or something like that?
German section -> startid = 8 and endid = 15
The ModX Wiki says:
"Wayfinder is a snippet that scans a ’specified portion’ of the MODx document tree". How do I specify a portion?
thanks.
I think most people with multi lingual sites have their pages set up something like this :
English (1)
- home (12)
- about (31)
- contact (14)
Dutch (3)
-home (5)
-about(9)
-contact(18)
German(6)
-home(10)
-about(11)
-contact(12)
Probably best to have a TV to put the menu call in and set it’s default value to ’@INHERIT’
Then for each parent doc overwrite the default value with a Wayfinder call with the ’&startId’ set to the parent.
That way each menu shows the children of the parent language.
There are several other ways you could do it