1
Zorglub
How to include comments (in a certain module) in the serch feature of xoops
  • 2006/1/1 19:54

  • Zorglub

  • Just popping in

  • Posts: 43

  • Since: 2004/1/26


As I descried elsewhere, I would like to adapt smartsection to make it a reviewing module.

The reviews of users will be the comments feature of smartsection.

How is it possible to do so that the users can search in the "articles" part of smartsection, but also in the comments added by users.

This question might be useful to all the modules in fact ...

Thanx once again ...
...

2
Dave_L
Re: How to include comments (in a certain module) in the serch feature of xoops
  • 2006/1/1 20:23

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I think that would require modifying the module's search code to also search comments.

Here's a reference on how the module search feature is implemented:http://dev.xoops.org/modules/phpwiki/index.php/SearchFunction

You would probably want to search the comments using the kernel comment class, rather than using explicit database queries.

Login

Who's Online

184 user(s) are online (93 user(s) are browsing Support Forums)


Members: 0


Guests: 184


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