When you list the "search people" function it only lists 10 people by default. This is too few in my opinion, and I would like it to display 20 or 30 instead. This fix has been done here, but I have looked all over the place and can't find the link. Does anyone know how to do this, or know where the thread is where it was done earlier.
Thanks
Rob
|
You can change "per page" value here :
1. Open the search.php
2. Find this code line:
'per_page' => isset($_REQUEST['per_page']) ? (int)$_REQUEST['per_page'] : 25,
and replace 25 with your value!
PS: If possible do not write me personally, please try to ask on the forum first |
|
PS: If possible do not write me personally, please try to ask on the forum first |
Actually, I may have spoken too soon. That "25" is one of the options in the "per page" display, but the default is 10, not 25 (the options are 10, 15, 20, 25). Changing that "25" will just change the value of that drop down - it will still just display 10 members per search result. Where do I change that "10" default number? |
Sasha - or anybody. It turns out this isn't the right page. The "25" in that file refers to a dropdown value which is not selected by default. In some other file, is the "10" for number of members displayed. Does anyone know where that is? |
Provide me with your site url (search.php, browse.php, etc) where you can change that value PS: If possible do not write me personally, please try to ask on the forum first |
Sure - this page just shows 10 results per page as a default. I would like to change that to at least 25:
http://www.caltrade.com/community/search.php
|
Ok lets try to apply another way:
1. Open the : templates/base/scripts/BxBaseProfileView.php
find this string:
$iResultsPerPage = isset( $_GET['res_per_page'] ) ? (int)$_GET['res_per_page'] : 10;
and replace 10 with your value
PS: If possible do not write me personally, please try to ask on the forum first |
Thanks Sasha - I'm pretty sure that is it. Late here - will test tomorrow. |