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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

.First Page Control - Also .Second, .Third and so on ??


Go to End


1092 Views

Avatar
benni91

Community Member, 72 Posts

9 February 2012 at 12:34am

Hi There,

i'm trying to get the latest entrys out of an dataobject. I managed it to get the first one with
<% control NAME.First %> is there also a way to get the second one, third one and so on?

is it possible to copy and rewrite the .first function so that i can get a .second and .third and so on?
Does someone know, where this function located?

I hope you can help me :) And sry for my english ^^

Thx and Greets
Benni