Creating my own custom search module
(1/1)
andy91:
Hi
I'm setting up a website that is going to be used as an on-line book store. I have added a product type called book info which contains the following parameters: Author, Publisher, ISBN and Publication date. This works fine apart from the search functionality. I looked at the Show Product Parameter Search Field option in the virtuemart module but that is not the functionality I need, its too much for a simple book search.
All I want is to create a simple select box search module that will allow the user to select to search by keyword, author or ISBN much like the search on this site:
http://www.bookstorehost.com/stores/bookstorehost/
I'm a fairly competent php coder but Iv not used Joomla for a while so I'm a little rusty when it comes to module creation. Am I right in assuming all this can be done with just a joomla module and it should be relatively easy for a programmer? I guess I'm just looking for advice on where to start and what to look at for example is there any module that would be ideal for me to take a part and modify?
all advice welcome
cheers
andy91:
Iv been doing some digging and don't think this is going to be as easy as I first thought. Looks like Im going to have to manipulate this file :
shop_browse_queries.php
zanardi:
Yes you're right. The module part lets you create an INTERFACE to start the search, but to use the keywords in different fields you have to customize the selection query, which is in the file you mentioned.
useris:
Hi,
I undersdtand that this is old topic but have you found the solution?
Thanks
Navigation
[0] Message Index