1
marcan
Search.php and WF-FAQ
  • 2004/2/22 18:34

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


I'm using WF-FAQ 1.05. When I use search.php to find an FAQ, the matching FAQ are returned. But when I click on one of them, I always end up on the Main Index of the FAQ module and never on the requested FAQ.

Anyone having this problem? Any solution?

Thanks for any help !

2
marcan
Re: Search.php and WF-FAQ
  • 2004/2/23 14:23

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


Allow myself to request your help another time

Anybody could help with this problem?

Thanks !

3
Mithrandir
Re: Search.php and WF-FAQ

What's the URL of the link from the search results? Perhaps something is missing there.

4
Vargr
Re: Search.php and WF-FAQ
  • 2004/2/23 14:35

  • Vargr

  • Not too shy to talk

  • Posts: 130

  • Since: 2003/6/19


Just tried it on my own system and there it works as should be expected; that is, it jumps to the FAQ itself and not just the frontpage.

Howver, this is XOOPS 2.0.2 (I know, it will soon be updated, just testing and changing the site slightly at the same time).

5
marcan
Re: Search.php and WF-FAQ
  • 2004/2/23 15:55

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


The link of the search result in the FAQ category is :

http://thesite.com/modules/wffaq/index.php?op=view&t=1

This points to the Main index of the FAQ.

The correct link would have to be something like:

http://thesite.com/modules/wffaq/article.php?t=1

Any suggestion?

6
hsalazar
Re: Search.php and WF-FAQ
  • 2004/2/23 16:08

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Marc-André:

In your post lies the answer to your initial question. Open the file include/search,inc.php and go to line 55. You'll see:

$ret[$i]['link'] = "index.php?op=view&t=" . $myrow['topicID'];

Change it to read:

$ret[$i]['link'] = "article.php?t=" . $myrow['topicID'];

... and you're done. This should produce correct links.

Cheers.

7
marcan
Re: Search.php and WF-FAQ
  • 2004/2/23 16:28

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


Another problem solve !

Many Thanks Horacio !

Login

Who's Online

164 user(s) are online (119 user(s) are browsing Support Forums)


Members: 0


Guests: 164


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