1
banesto
Search function upgrade
  • 2005/11/5 21:47

  • banesto

  • Just popping in

  • Posts: 61

  • Since: 2005/1/24


Hello!

I'm using myReviews modificated module, two of them to be precise. the problems are whith search funcions:

1) i need to know where is placed the main SQL statement that searches this module, because I added new column which contains the automated publish date and I don't want the search function to show up unpublished content

2) in other myReviews module (clone) search function is not working at all.

Your help could very appreciated!
where's my red bull!

2
highlander
Re: Search function upgrade
  • 2005/11/5 23:13

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hi Banesto,

you'll find the main SQL statement in module\include\search.inc.php in most modules. However you can always find the location by checking the modules xoops_version.php file.
This will have something like the following :
// Search function
$modversion['hasSearch'] = 1;
$modversion['search']['file'] = "include/search.inc.php";
$modversion['search']['func'] = "pedigree_search";


so now you know where to look for the file and function !

greetings Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com

3
banesto
Re: Search function upgrade
  • 2005/11/6 1:23

  • banesto

  • Just popping in

  • Posts: 61

  • Since: 2005/1/24


Great thanks!!

Should have find it myself.. wasn't that hard at all!! Feel a bit dumb.
where's my red bull!

Login

Who's Online

132 user(s) are online (90 user(s) are browsing Support Forums)


Members: 0


Guests: 132


more...

Donat-O-Meter

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

Latest GitHub Commits