Hi !
I’m using Wayfinder to generate my menus, but i would like to "split" the links generated by Wayfinder :
for example, Wayfinder generates 10 links, but i would like to put the 1st five links somewhere in the html code, and the 5 others somewhere else in the html code
( all the generated links are the direct children of a given folder page, but in the menu of that folder page i need to distribute them in several groups for more clearness )
i could have created subfolders for each of those groupes, and then call wayfinder multiple times on the folder page, but maybe there is a simpler way ...
thanks
i’m not a native english speaker, sorry if there are any mistakes !
Pikkitux.com Website about Ubuntu Linux, Website Creation, and many other how-tos, tips and tricks ... ( French Language, and of course Modx Powered ! )
-
MODX Staff
- 12,272 Posts
I don’t think Wayfinder will split results like this.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
you mean wayfinder can’t do that ?
i’m not a native english speaker, sorry if there are any mistakes !
Pikkitux.com Website about Ubuntu Linux, Website Creation, and many other how-tos, tips and tricks ... ( French Language, and of course Modx Powered ! )
-
MODX Staff
- 12,272 Posts
Not without multiple calls I don’t think so. Then again, I could be completely wrong.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
yes but then i’d have to modify that page each time i add a subpage
couldn’t i add a template variable to those subpages, for example the "group" tv, then in the wayfinderS calls i would add an "where group=n"
( i remember that in Ditto it was possible to test the values of tvs, does wayfinder also include this ? )
thanks
i’m not a native english speaker, sorry if there are any mistakes !
Pikkitux.com Website about Ubuntu Linux, Website Creation, and many other how-tos, tips and tricks ... ( French Language, and of course Modx Powered ! )
-
MODX Staff
- 12,272 Posts
Wayfinder and Ditto are different snippets. You might be able to do it with Ditto and a custom template.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
then i’ll take a look at ditto,
by the way what are the exact differences between Ditto and Wayfinder ??
Ditto would be for blogs Wayfinder for pure menus, but as both have a template function and advanced configuration options, every menu/blog coded with one could be coded with the other, couldn’t it ?
thanks
i’m not a native english speaker, sorry if there are any mistakes !
Pikkitux.com Website about Ubuntu Linux, Website Creation, and many other how-tos, tips and tricks ... ( French Language, and of course Modx Powered ! )
-
MODX Staff
- 12,272 Posts
Ditto doesn’t generate nested lists. You’d likely need a root Wayfinder call and a Ditto call to split the results.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Quote from: rthrash at May 08, 2007, 12:45 PM
Ditto doesn’t generate nested lists. You’d likely need a root Wayfinder call and a Ditto call to split the results.
ok, thanks again, cya
i’m not a native english speaker, sorry if there are any mistakes !
Pikkitux.com Website about Ubuntu Linux, Website Creation, and many other how-tos, tips and tricks ... ( French Language, and of course Modx Powered ! )