![]() |
Quote:
I was hoping that changing the code in tags.php at line 160 so that any search on tags by anybody will return a set number per page. Setting the number of results for searches in the admin CP has no affect on tag searches because that search uses search.php but a tag search uses tags.php to initiate the tag search. Lynne - I'm not appending any code to a search, I want to change the search code for all tag searches, and I thought this place in tags.php at line 160 looked like the place to do it. |
What I was suggesting wasn't really that much (if you were to compare that code with the existing code). But I think a simpler way to do it would be to make the change suggested in post #6, and also change this (line 164):
Code:
$view->showpage($vbulletin->GPC['pagenumber'], $vbulletin->GPC['perpage'], $base, $navbits); to this Code:
$view->showpage($vbulletin->GPC['pagenumber'], 5, $base, $navbits); But in the existing code you can (or you should also be able to) override the default by specifying a value on the url like Lynne mentioned above, so I was suggesting a few more changes to preserve that feature. (I modified post #7 to make it easier to see the changes). |
kh99 - Brilliant!
Thank You! |
All times are GMT. The time now is 10:05 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|