Welcome, Guest. Please login or register.
Login with username, password and session length


It's a release candidate! VirtueMart 2.0 RC - the next generation VirtueMart - is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: [1]   Go Down
Print
Author Topic: Creating my own custom search module  (Read 1434 times)
andy91
Newbie
*
Posts: 5


« on: August 23, 2010, 16:57:23 PM »

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
Logged
andy91
Newbie
*
Posts: 5


« Reply #1 on: August 23, 2010, 17:46:39 PM »

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
« Last Edit: August 23, 2010, 18:04:07 PM by andy91 » Logged
zanardi
Development Team
Hero Member
*
Posts: 812


WWW
« Reply #2 on: August 24, 2010, 07:11:39 AM »

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.
Logged

useris
Full Member
***
Posts: 145


« Reply #3 on: June 10, 2011, 07:04:29 AM »

Hi,

I undersdtand that this is old topic but have you found the solution?

Thanks
Logged
Pages: [1]   Go Up
Print
Jump to: