1
dave8x
search problem
  • 2005/9/19 20:35

  • dave8x

  • Just popping in

  • Posts: 3

  • Since: 2005/9/19


I've got a problem with searching module. It only searches in News but doesn't see other modules like Sections. There are only News to check in advanced search. But I got many articles in Sections and need to search them.
My Xoops: 2.0.9 updated to 2.0.13.1

Thanks for any help.

2
dave8x
Re: search problem
  • 2005/9/22 17:36

  • dave8x

  • Just popping in

  • Posts: 3

  • Since: 2005/9/19


Can anyone help?

3
frankblack
Re: search problem
  • 2005/9/22 19:00

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


Unfortunately sections isn't searchable. But making the module is not too difficult. Look at the module news 1.1 how this is done. The xoops_version.php of sections must be changed. If hassearch has the value 1 it means that the module is searchable. This must be followed by a call to a function to tell what in sections is searchable. Normally the search-file is called search.inc.php and sits in the include-folder of the module.

Take the search.inc.php of news 1.1 and adapt it to your needs.

4
dave8x
Re: search problem
  • 2005/9/23 8:35

  • dave8x

  • Just popping in

  • Posts: 3

  • Since: 2005/9/19


I've found better way:
Install new 'articles' module (It got search and much more options)
But why original XOOPS got this suck 'sections' !?

5
JMorris
Re: search problem
  • 2005/9/23 10:22

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


The term "suck" is a little harsh here, IMHO. The Sections module is limited, yes, but it allows for additional ways of publishing content. I believe it was ment as a method to publish content that is not necessarily of focal point of the site. Also, please keep in mind the the Section module has been around for a long time; long before there were as many offerings for content mangagement modules. It served its purpose in its time.

Best Regards,

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

Login

Who's Online

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


Members: 0


Guests: 158


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