Pagination in folders

sukhman21

Member
YetiShare User
YetiShare Supporter
Jan 26, 2015
508
3
18
Hello,
Not sure if this is an issue with my script but i have a folder with about 200 files in it and when i share that folder, all the files show up on the same page but i was expecting them to show up as default of 25 files on first page and then PageNumbers at the bottom right - same as file manager, file action queue, rewards or any other page.

Any ideas?
If this wasn't part of the script, any clue on how to accomplish this ?
 
  • Like
Reactions: sab6986858

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Hi,

Try using the attached file (extract first). Upload it to the following path:

/themes/flow/templates/folder/

It'll enable paging for the folder listing. If you want to enable searching and 'per page' functionality, find this in the code:

JavaScript:
"bFilter": false,
"bLengthChange": false,
Change them to true. There're not enabled as standard since the styling isn't available, so you'd need to add this to your page.
 

Attachments

  • Like
Reactions: sab6986858