1
onasre
The Number of the Search Result
  • 2008/2/12 7:15

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


when you make a search on the site you get 5 result for each category you search in , i have opened the file search.php and edited line #168 from 5 to 10

$results =& $module->search($queries$andor50);


then the result start shown 10 result for each category but i was wonder if i have to change the line #193

if ( $count >= ) {


or if i have to change any other code's
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.

2
jimmyx
Re: The Number of the Search Result
  • 2008/2/12 10:18

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


yes you have to change it to 10...

i also did a similar change last time to the total search results (user activities) in profile in my site
https://xoops.org/modules/newbb/viewtopic.php?topic_id=62099&forum=20&post_id=280372

3
iHackCode
Re: The Number of the Search Result

line #193 is for the displaying the link to find the rest of the items. similiar to the userinfo.php example.
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

Login

Who's Online

181 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 181


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits