changing number of results per page on /members/directory
Permalink 2 users found helpful
It only seems to show 10 results per page. I would like to change this value.
Can someone please tell me where I can locate this?
Thanks!!!
Can someone please tell me where I can locate this?
Thanks!!!
I still haven't been able to locate this. If someone happens to know where I can find this I would be so grateful!!!!
Hi deepsoular,
I am not aware of a setting for this. I also did not find core files that could be overridden to change this.
Someone else might have a solution, but it looks like it might be complicated to change.
I am not aware of a setting for this. I also did not find core files that could be overridden to change this.
Someone else might have a solution, but it looks like it might be complicated to change.
This is a big issue for me and seems to be part of the 'pagination' function. Ideally Id remove pagination completely from this page and replace it with a endless scrolling function but I literally can not find where the code for this is. gonna have to dl the whole directory to a folder and search within files for it. If anyone has any ideas I would really appreciate it.
@deepsoular
These look to be the files to start with:
https://github.com/concrete5/concrete5/blob/develop/web/concrete/sin...
https://github.com/concrete5/concrete5/blob/develop/web/concrete/con...
These look to be the files to start with:
https://github.com/concrete5/concrete5/blob/develop/web/concrete/sin...
https://github.com/concrete5/concrete5/blob/develop/web/concrete/con...
Figured out how to change this.
You need to be able to access the files @
concrete/controllers/single_page/members/directory.php
on line 21 to order the list by name changed UserID to UserName
on line 28 added $pagination->setMaxPerPage(100);
I am gonna try to set up a endless scroller for when the list gets big. I'll post it.
You need to be able to access the files @
concrete/controllers/single_page/members/directory.php
on line 21 to order the list by name changed UserID to UserName
on line 28 added $pagination->setMaxPerPage(100);
I am gonna try to set up a endless scroller for when the list gets big. I'll post it.
well done, someone else who knows how annoying listing 10 per page simple makes for loads of page clicking... please keep us posted wont you...
maybe someone know how to change the default date settings so i can use dd/mm/yy too?
many thanks..
Pat
maybe someone know how to change the default date settings so i can use dd/mm/yy too?
many thanks..
Pat