Sorry if this has been posted already... I did look before posting and couldn’t find anything!
I’m building a MODx site and I’m using the dropmenu snippet for horizontal dropdowns.
The problem i’m getting is a strnge directory rebuild from all the sub pages on the site.
The homepage works ok (all the link go to the correct pages)
http://www.vitalized.co.uk/
But when I navigate to the page below all the links in the drop menu use the current directory as the root
http://www.vitalized.co.uk/web-design-development/modx-web-hosting.htm
If you hoover over the "HOME" button from the above URL it goes to:
http://www.vitalized.co.uk/web-design-development/index.htm
Instead of
http://www.vitalized.co.uk/index.htm
This strange thing is the directory structure appears correctly if I use the defualt modx template which just uses: [[DropMenu]] in the side bar.
The calls I’ve used on the drop menu are:
[[DropMenu? &startDoc=`0` &levelLimit=`2` &here=`activeLink` &topdiv=`1` &topdivClass=`nav`]]
[!DropMenu? &startDoc=`0` &levelLimit=`2` &here=`activeLink` &topdiv=`1` &topdivClass=`nav`!]
[[DropMenu]]
[[DropMenu? &startDoc=[*grandparent*] &levelLimit=`2`]]
[[DropMenu? &startDoc=[*parent*] &levelLimit=`2`]]
None do the trick!
Hope this makes sense to someone out there!!!!