Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with wayfinder and &context ?! #38

Open
poulibou opened this issue Sep 15, 2011 · 0 comments
Open

Problem with wayfinder and &context ?! #38

poulibou opened this issue Sep 15, 2011 · 0 comments

Comments

@poulibou
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant