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.

Data Model Questions /

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

items number


Go to End


2 Posts   2080 Views

Avatar
snaip

Community Member, 181 Posts

12 May 2009 at 8:01am

hi

i have News_Holder and for example 12 News_Page
i heve pagination for 4 News by site

when i get into some news i have navigation to the next and previous news
but i want to have more information in News_Page: number of courent news like 5/12

$Nesw.TotalItems get number of all news .. 12
but how to get number of courent view item ?

Avatar
snaip

Community Member, 181 Posts

12 May 2009 at 9:55pm

got it !

it is $Sort in database