IE7 Beta 2 Search Plugin merely redirects to search page.

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
betrayal
Posts: 1
Joined: Fri Jun 23, 2006 5:31 pm

IE7 Beta 2 Search Plugin merely redirects to search page.

Post by betrayal »

I installed the provider (IE7 Search Plugin) and it shows up fine. When I enter text to search, instead of searching the FAQ, it sends me to the main search page, but does not execute the search query.

The plugin works fine in FireFox. I haven't bothered looking at the code to see what's different. Mainly, FireFox posts both a 'search=...'&'action=...', but IE7 only posts 'action=...', which takes you to the search page but does not execute the search since the 'search' variable was not posted.

Is this an IE7 issue, or does the code that's executed for the IE7 plugin need to be changed so that it's similar to the code for the FireFox plugin? If I had more time I'd look at the source code myself.

Just thought you may want to know. Sorry if this issue's been covered previously.

Also, the FAQ I have up is in a private domain, so you won't be able to view it yourself.
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Post by matteo »

Hi,
could you check in the xml file in your root folder, e.g., [PATH_TO_PMFINSTALL]/<hostname>.pmfsearch.xml for this line below:

Code: Select all

<Url type="text/html" template="<hostname/path/to>/index.php?action=search" />
and change it into:

Code: Select all

<Url type="text/html" template="<hostname/path/to>/index.php?action=search&search={searchTerms}" />
and reinstall the plugin into IE7?
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Post Reply