Any questions about Documents Sellers, post it here .

Search module sends user to home page with search

  • Tom Egan
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 6 months ago #3172 by Tom Egan
Hi Tuan,

When a user does a search using the module, the results are redirected to the home page. Is there a a configuration I have missed?

host.wocomm.net/~troseth/index.php?optio...ategories&Itemid=127

Could you help please?

Thank you

Tom

Please Log in or Create an account to join the conversation.

  • Tom Egan
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 6 months ago #3173 by Tom Egan
I changed the following in /modules/mod_dms_search/tmpl/default.php
Code:
<form name="dms_search" action="index.php" method="POST" >

To
Code:
<form name="dms_search" action="" method="POST" >

This appears to have solved the issue. Is there a better way to do this?

Thank you

Tom

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #3174 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re:Search module sends user to home page with search
Hi

Here is the modified version of the module . Please re-install it and the problem will be solved .

Regards ,

Tuan

Attachment mod_dms_search.zip not found

Attachments:

Please Log in or Create an account to join the conversation.

  • Tom Egan
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 6 months ago #3175 by Tom Egan
Hi Tuan,

Thank you very much for the quick response and fix!

One other thing in the search module. The pulldown list doesn't follow the same order as the categories as ordered. Is there a way to connect the pulldown list order to the same as the list in categories in admin are ordered?

Thank you

Tom

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #3176 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re:Search module sends user to home page with search
Hi Tom

This one should work (I haven't tested the modification yet because I am working on something at the moment) . Please test it and let me know the result .

Thanks ,

Tuan

Attachment mod_dms_search-20100521.zip not found

Attachments:

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #17713 by claregroom
I have found the same problem. With the search and with the terms and conditions Document Seller posts the results using the home page template when I want it to use a different template.

As this query was posted a couple of years ago, I am wondering if things have changed.

Should I upload this fix or edit the code in some way?

BTW Thank you very much for all your help so far - Document Seller is great, just needs a few tweeks to get it to work how I want it!

Thanks

Clare

Please Log in or Create an account to join the conversation.