Jump to:

3430 Posts in 1057 Topics by 734 members

Data Model Questions

SilverStripe Forums » Data Model Questions » items number

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

Page: 1
Go to End
Author Topic: 1083 Views
  • snaip
    Avatar
    Community Member
    180 Posts

    items number Link to this post

    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 ?

  • snaip
    Avatar
    Community Member
    180 Posts

    Re: items number Link to this post

    got it !

    it is $Sort in database

    1083 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.