I've been struggling with this situation for a few hours and have read everything I could find online.
What I'm doing is displaying Information from a DataObject to create a carousel (using jCarousel). The part I'm struggling with is displaying a bit of information from the next Item, the name, so basically it says next item is called 'item name'.
I looked on the web for a solution and found something called 'peekNext'. I tried to implement this in the template like so:
<% control Products %>
<% control peekNext %>$productName<% end_control %>
I'm the process of creating a module and widget set. It creates a dataobject tied to a page type; the data object being a motor home and the page type being a motor home category.
The peekNext part is part of the widget. It is supposed to display all the motor homes regardless of their category page, which it does. But also on each motor home entry i would like it to display the one that is going to appear next.