Quote from: fresh28 at Mar 08, 2011, 04:38 AM
А возможно ли корректно вывести с помощью Wayfinder больше двух уровней меню? У меня не получилось.
Кто знает, подскажите в чем проблема.
Вызов
[[Wayfinder? &startId=`0` &outerTpl=`outer` &rowTpl=`row` &parentRowTpl=`parentrow` &innerTpl=`inner` &innerRowTpl=`innerrow` &innerHereTpl=`innerhere` &debug=`true`]]
Зачем вам писать чанки для вызова, достаточно стандартных.
[[Wayfinder? &startId=`0`]]
&startId the starting point for the menu (document ID)
current docId
&level the depth to build the menu (0 goes through all levels)
0
&ignoreHidden ingore the show in menu checkbox for documents and include them in the menu
FALSE
&ph name of a placeholder to set instead of directly retuning the output results
FALSE
&debug turn on debug mode for extra troubleshooting
FALSE
&hideSubMenus set true to only output the active submenu
FALSE
&removeNewLines set true to remove newline characters from output
FALSE
&textOfLinks what database field do you want the actual link text to be? Use the following values: menutitle, id, pagetitle, description, parent, alias, longtitle, introtext
menutitle
&titleOfLinks what database field do you want the title of your links to be? Use the following values: menutitle, id, pagetitle, description, parent, alias, longtitle, introtext
pagetitle
&rowIdPrefix if set, creates a unique id for each item (id is value of rowIdPrefix + docId)
FALSE
&useWeblinkUrl if set to TRUE the link specified in the weblink will be output to the placeholder [+wf.link+]
TRUE
&showSubDocCount if set to TRUE the number of documents in each folder will be output to the placeholder [+wf.subitemcount+]
FALSE
&sortOrder Allows the menu to be sorted in either ascending or descending order.
ASC
&sortBy Specify any of the following fields to sort the menu: id, menutitle, pagetitle, introtext, menuindex, published, hidemenu, parent, isfolder, description, alias, longtitle, type, template
menuindex