Hi all,
I’m trying to help a friend build a website, and of course also trying to lure him over to ModX. He is a Joomla user at the moment.
Anyways, he has found this template
http://benblogged.com/dev/ninja_biz/index.html via Themeforest, and has already bought it
Yesterday I helped him converting the template to ModX. Not a very hard task, but the right-side menu gave me some problems.
The markup of the menu looks like this in the original template:
<div class="demo-show">
<h3>Ninjas</h3>
<div>
<ul>
<li><a href="#">Ben Johnson </a></li>
</ul>
</div>
<h3>Moves</h3>
<div>
<ul>
<li><a href="#">Dragon Fist</a></li>
<li><a href="#">TIger Claw</a></li>
</ul>
</div>
</div>
And with some fancy jQuery added, you get a nice little expanding menu when you click on one of the <h3> elements.
However, putting this together in WayFinder seemed just about impossible to me yesterday and I finally gave up after pulling my hair out for a few hours.
The problem is that my &rowTpl is being used on generating both the <h3> element and the individual <li>’s. Resulting in the documents repeating themselves.
Since I forgot to bring my usb stick today, I haven’t got any examples on the tpl chunks I have tried to create. But I am also afraid that these would not be of any good, since a fresh pair of eyes is needed here.
Can someone shed some light on this particular WayFinder challenge?
.larsb