Pagination in folders

sukhman21

Member
YetiShare User
Jan 26, 2015
502
1
18
#1
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 ?
 
Likes: sab6986858

adam

Administrator
Staff member
Dec 5, 2009
1,635
17
38
mfscripts.com
WEBSITE
https://yetishare.com
LOCATION
UK
#2
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

Likes: sab6986858