At first I want to thank you
OpenGeek (and everybody else who may come in later) for still contributing on this thread.
I set up a multiple site installation using a "manipulated" index.php. Which basically contains the content of the OneGatewayPlugin (
you can see that here).
As you said, before we look into GetResource of different contexts, lets get this basic installation working.
It basically works (despite v.s.) as long as I do not use Friendly URLs. If I turn Friendly URLs to YES MODx (maybe Wayfinder?) messes up the paths with documents being containers. That means If I click on a container the path becomes
http://www.myurl.com/container/ which is ok. But If i click on that container again, the path becomes
http://www.myurl.com/container/container/. So containers aliases are always added to the URL.
If I click a single document the path is rewritten correctly:
http://www.myurl.com/document.html as long as I did not click a container before. If I did the document is added to the ULR which results in
http://www.myurl.com/container/document.html.
I did not change anything in system settings (but Friendyl URLs) nor in .htaccess which I just renamed.
So is this an issue with Wayfinder which is not rewriting the path correctly? I use the default Wayfinder templates.
I can change the container_suffic from "/" to ".html" which works. But I’d like to use "/".
Thank you very much.