Quote from: mmcgee at Feb 25, 2015, 05:07 AMQuote from: pepebe at May 14, 2013, 03:50 PMIm working on a foundation based MODX boilerplate.
Have a look at my test site: http://foundation.pepebe.modxcloud.com/foundation/navigation/topbar.html
pepebe
Hi pepebe:
I've been trying to figure out how to set up pdoMenu (same as wayfinder) so that I can use both the left and right section of the Foundation topbar navigation. It appears that you were able to make it work. Would you be willing to share your solution?.
I have a very simple solution for your problem:
This is my menutree:
Topic 1 (1)
Subtopic 1.1 (4)
Subtopic 1.2 (5)
Subtopic 1.3 (6)
Topic 2 (2)
Topic 3 (3)
...
I used two snippet calls. One excluding resource 1 and all children.
startId=`0`
excludeDocs=`1`
&outerClass=`left`
and the other listing resource 1 and all children
&startId=`1`
&outerClass=`right`
outerClass will move your menus to the left or right.
for pdoMenu you have to use &parents=`` instead of &startId=`` and for &excludeDocs=`1` you have to use &resources=`-1`
As you can see very easy to solve.
I remember the tricky part to be the dropdown below the ultimateparent. It doens't work anymore (in fact many thing are broke for some reason). Have to check this.
Cheers,
pepebe