Hello guys,
I’v made a new menu which looks exactly like the modx host, i’v found out 3rd levels doesnt work with the modxhost wayfinder call so thats why i modified this one. Now the problem is that YAMS doesn’t translate all menu-titles, only a few of them :S, so, when i add the following to the wayfinder call(default modxhost chunks) it does translate every menu-title.. but then the javascript for the 2nd and 3rd level won’t show up..
So maybe any of you guys can help me, and i think its possible in 2 things.
1. Edit the current menu, so YAMS translates every menu-item
2. Edit the default modxhost chunks so it fits in my menu and the 2nd and 3rd level will work again.
My menu:
Wayfinder call:
[[Wayfinder? &startId=`0` &level=`3` &parentRowTpl=`cssplay_revParentRow` &cssTpl=`cssplay_ultdrop`]]
Wayfinder call with modxhost chunks: [[Wayfinder? &startId=`0` &level=`3` &parentRowTpl=`cssplay_revParentRow` &cssTpl=`cssplay_ultdrop` &outerTpl=`mh.OuterTpl` &innerTpl=`mh.InnerTpl` &rowTpl=`mh.RowTpl` &innerRowTpl=`mh.InnerRowTpl` &firstClass=`first` &hereClass=``]]
Chunks:
cssplay_revParentRow
<li><a [+wf.classes+] href="(yams_docr:[+wf.docid+]) " title="[[YAMS? &get=`data` &from=`pagetitle` &docid=`[+wf.docid+]`]] ">[[YAMS? &get=`data` &from=`menutitle` &docid=`[+wf.docid+]`]] <!--[if IE 7]><!--></a><!--<![endif]-->
<table><tr><td>
[+wf.wrapper+]
</td></tr></table>
<!--[if lte IE 6]></a><![endif]-->
</li>
cssplay_ultdrop
<link rel="stylesheet" media="all" type="text/css" href="assets/templates/ultimate_drop.css" />
and u probably have the latest modxhost chunks :]
Thanks for any help