I did a new install of modx, with the default sample pages. I added a lot of new pages to the default, but the menu does not seem to show me all the levels, it shows me just the first level. I did try to change the wayfinder code and added in &level=’0’ but it does not show me more than one level under the root level.
the menu code is as follows:
<div id="ajaxmenu"> [[Wayfinder?startId=`0` &level=`0` &outerTpl=`mh.OuterTpl` &innerTpl=`mh.InnerTpl` &rowTpl=`mh.RowTpl` &innerRowTpl=`mh.InnerRowTpl` &firstClass=`first` &hereClass=``]] </div>
can you please let me know what I need to do in order to display all page levels?
:) yes that definately could be the reason. this is the first time I have come across modx and you can consider me as a noob. so sorry if I’ve been asking the basics of questions.
now how do we change this basic dropdown to the drop down on muddydogpaws? is there any tutorial for this or any documentation?
I’m almost giving up.
This is the first time I tried using Modx. I liked some of it’s features and I thought it would be a nice and simple content management system. yes the paging system was good and I liked the way the heirarchy was handled. but I think Modx still has a long way to go. the menu system needs to be simpler to use. from a default install changing the menu to show all the levels was really a task. I did go through the documents and the muddypaw site examples and tried to use them but the problem was getting more and more complex.
I agree many features of Modx are simple and and good to use, but the menu system would play a major role in content management. if it is that difficult to handle a minor change as to show all levels in a menu, then I think there should be some thought by the core team to simplify the menu system at a priority in the next release.
The wayfinder might be good, but we should be able to create some sort of a menu code generator which we could preview and use in the templates easily.
anyways, it was really frustrating to try to learn a lot of stuff to have a simple change and that is the reason for this post. But since I have already built the content and the pages for the 500 page site in the modx, I think I’ll do some more research and try to fix this problem. but as I said.... I’ve almost given up.
I know a lot of people seem to struggle with creating custom multi level menus with Wayfinder.
My approach is to find the menu style/type I need then look at the rendered source code.
I then create the tpl chunks to emulate that menu.
Initially it can be a bit trial and error and frustrating but the beauty of MODx is you can have any sort of menu, the downside is that initially it’s more work.
I’ve spend two evenings in order to get a rather basic tabbed navigation working and I must agree that Wayfinder is not the most intuitive snippet in the lot...
The topic in wich I asked for some pointers received no answer, so I guess I’m not the only one struggling. The good news is I finally got it working, I’ll post the method I used to get a grip on Wayfinder asap.
A thing of beauty is a joy forever ( John Keats)