-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Hello,
I apologize for my English "google".
Without being sure yet, I seem to have a problem with the use of Wayfinder and &context setting.
My config:
I work with windows 7, modx revolution, on localhost.
On my site, I have two contexts: "web" and "webeng", configured following
the instructions on this site : http://www.h-quadrat.com/techblog/111-modx-revolution-multi-domain-context-installation-english.php
so, I finally got two addresses :
web context: http://127.0.0.1:8888/fr/
webeng context: http://127.0.0.1:8888/en/
Note : I also use Babel and friendly url.
In my "web" context:
I use Wayfinder in my template to create my menu with a submenu.
I call the snippet like this:
[[Wayfinder? &level=2 &startId=0 &contexts=web &innerTpl=WFD_innerTpl &outerTpl=WFD_outerTpl &levelClass=niveau &activeParentRowTpl=WFD_hereclass &hereTpl=WFD_hereclass2 &hideSubMenus=1]]
In my "webeng" context :
The first document is the Home (id ="109")
I created a second template in which I changed my call to Wayfinder:
[[Wayfinder? &level=2 &startId=0 &contexts=webeng &startIdContext=109 &innerTpl=WFD_innerTpl &outerTpl=WFD_outerTpl &levelClass=niveau &activeParentRowTpl=WFD_hereclass &hereTpl=WFD_hereclass2 &hideSubMenus=1]]
My problem:
The menu appears correctly on the Home page of my "webeng' context but when I click on one of the buttons on my menu, I don't access the page i want. Home page is automatically reloaded.
Today, I have not really found any solutions on the net.
I'm not sure if my problem is my use of Wayfinder but I send you this message
in case you offer me a solution?
Thank you in advance