Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Return DataObject from Second Records


Reply


3 Posts   691 Views

Avatar
bunheng

Community Member, 78 Posts

15 August 2011 at 9:58pm

Hi,

Is there any possible way to display DataObject Record in template by escape the first record, I mean begin loop from second record till end.

Thanks
Bunheng

Avatar
UncleCheese

4086 Posts

16 August 2011 at 1:27am

<% control YourObjects %>
<% if First %><% else %>
do stuff
<% end_if %>
<% end_control %>

---------------
Silverstripe tips, tutorials, screencasts, and more. http://www.leftandmain.com

Avatar
bunheng

Community Member, 78 Posts

16 August 2011 at 2:11am

Hi UncleCheese.

Thanks for your replies. I worked now!

Thanks
Bunheng