You'll probably have an issue opening and closing the LI in different areas of the xslt. But there's a way to solve that, too. In fact, you can see an example of the whole solution, including the "position() mod " in the Runway Gallery module.
The relevant bit of xslt from the gallery module is:
Loop Items into different li:s
Hi!
Im using the Easyslider to show products on my page and now I want to show 4 products in each "slide".
This is what I have for now:
How should I loop this so that after 4 items is looped a new li is created?
I guess you can use
You'll probably have an issue opening and closing the LI in different areas of the xslt. But there's a way to solve that, too. In fact, you can see an example of the whole solution, including the "position() mod " in the Runway Gallery module.
The relevant bit of xslt from the gallery module is:
cheers,
doug.
That worked awesome!
A little bit embarrasing that I didnt think of the gallery...
Thanks!
is working on a reply...