I am getting diffrent data using get_annotations method. I renderd this data as per my requirement. As it contain huge data I want to apply pagination for this.
In elgg, we can set pagination=>true for elgg view methods like elgg_view_entity_list. Is there any method to apply pagination to custom view.
Can i do it using normal php and jquery pagination.
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.
- Juho Jaakkola@juho.jaakkola

Juho Jaakkola - 0 likes
- Anilkumar@AnilThelukala

Anilkumar - 0 likes
- Juho Jaakkola@juho.jaakkola

Juho Jaakkola - 0 likes
You must log in to post replies.Can't you use elgg_list_annotations()? It accepts all the same parameters as elgg_get_annotations() and has pagination by default.
My elgg version is 1.7 . Actually i am getting so many attributes thorugh annotaions. Among those i am using two varibles and displaying them in same page.
Hm... I haven't used Elgg 1.7 in a long time. I think you need to use the 'navigation/pagination' view.
So call elgg_view(''navigation/pagination', array( ... ));
Check the view for detailed documentation about the parameters that you can add to the array.