I want to get only last 50 river item and still have pagination, how to do that ?
for example
page 1 : 10 river item,
page 2 :10 river item
page 3 :10 river item
page 4 :10 river item
page 5 :10 river item
total : 50 river item, and only 50river item will appear,
i will use elgg_list_river($options)
if i use 'limit'=>50, all 50 river item will appear in one page and there is no pagination,
is there database query to do this ?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- Avicena AlGhiffar Alsharaawy@AVicenaGhifa
Avicena AlGhiffar Alsharaawy - 0 likes
- ihayredinov@ihayredinov
ihayredinov - 0 likes
You must log in to post replies.Try
i think it will not solve my problem,
let me explain it again
Pass count = 50. If that doesnt work with elgg_list_river(), use get and pass items and count to the list view, that will generate the pager for 5 pages.