I’m really new to modx and i really like it so far. I’m trying to create my first template for my site. I started from a design i created and cut up and created that in html/css and now i’m trying to put it into modx. I’m still in the early stages of figuring out modx, but I’m getting there.
Basically here’s my current problem. I started building a basic two column template page and assigned it to the blank pages I have setup in the file tree. These pages are blank except for setting up their menu id, page title, etc. I plan on going back after i have this first part worked out. But right now there is top navigation and a secondary navigation (right column navigation) that should only appear on the services page (with 8 children). I have got the secondary navigation working but it is also being displayed in the top navigationThe top navigation was working perfectly until i tried to put in the secondary navigation.
here’s the working wayfinder code i have for the
top navigation:
<div class="menu">
[[Wayfinder? &startId=`0` &level`1` &outerTpl=`menuContainer` &rowTpl=`menuRows`]]
</div>]
and a separate chunk called ’
menuRows’
<li [+wf.id+]><a [+wf.classes+] href="[+wf.link+]" title="[+wf.title+]" [+wf.attributes+]><span>[+wf.linktext+]</span></a>[+wf.wrapper+]</li>
working wayfinder code for the
secondary right navigation:
<div class="subnav">
<ul class"subnav">
[[Wayfinder? &startId=`2` &level`2` &innerRowTpl=`menuContainer` &rowTpl=`menuRows`]]
</ul>
</div>
separate chunk for
secondary right navigation:
<li[+wf.classes+]>
<a href="[+wf.link+]" title="[+wf.title+]">[+wf.linktext+]</a>
[+wf.wrapper+]
</li>
I’m attaching some screencaps i made of where i am now to try and explain the problem better. (note: ignore the breadcrumbs and jot/comment area...i’m planning on working that out after i work out the navigation)
any help is greatly appreciated!
thanks.