1
cattivik76
Ignoring some modules from global search
  • 2008/4/8 15:19

  • cattivik76

  • Just popping in

  • Posts: 13

  • Since: 2008/3/22


Hi all,
is possible to ignore some modules from global search ?
I've 2 or 3 modules that I don't like to show in global search options and global search results.
Is possible ? How ?
TNX to all

2
Catzwolf
Re: Ignoring some modules from global search
  • 2008/4/8 15:56

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


The best and only way I think you can do this is thus:

1. Open xoops_version.php in the module folder you wish to remove from global search.
2. Look for the following line:
Quote:
$modversion['hasSearch'] = 1;


and change it to:
Quote:
$modversion['hasSearch'] = 0;

3. Update the module from the XOOPS module admin cpanel.

Hopefully this module wont be a part of the global search no more.

John

3
cattivik76
Re: Ignoring some modules from global search
  • 2008/4/8 17:18

  • cattivik76

  • Just popping in

  • Posts: 13

  • Since: 2008/3/22


Lol tnx I try ... after settings I must remove and reinstall modules ?

4
cattivik76
Re: Ignoring some modules from global search
  • 2008/4/8 19:30

  • cattivik76

  • Just popping in

  • Posts: 13

  • Since: 2008/3/22


Ok it work right now ... tnx 1000 !!!!

5
avtx30
Re: Ignoring some modules from global search
  • 2008/4/8 22:17

  • avtx30

  • Not too shy to talk

  • Posts: 181

  • Since: 2006/10/12


You may try happy_search! With it you are free from editing PHP files like catzwolf's advice. It has google search function and is much better than xoops's default search.

First install happy_linux (framework)
http://linux.ohwada.jp/modules/wfdownloads/singlefile.php?cid=1&lid=65

Then install happy_search
http://linux.ohwada.jp/modules/wfdownloads/singlefile.php?cid=1&lid=67
Xoops Demos:
http://www.nhatban.net/info/a0021.html

Login

Who's Online

200 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 200


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