How to an extra drop down nextto the search box?

Have a programming question regarding your component, plug-in, extension or core hacks? Have an interesting tidbit, FAQ or programming tip you’d like to share? This is the place for you.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Post Reply
e-builds
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sun May 06, 2007 12:33 pm
Contact:

How to an extra drop down nextto the search box?

Post by e-builds » Wed Oct 17, 2007 1:14 pm

I want to make a component/plugin/whatever that will allow clicking on a word which would display all articles with this word in its "metadata keywords".  Kind of like a tag function, but using the metadata.

Now, I think the best way to do this is not to create a sperate component, but rather instruct the existing search engine to only search in the metadata keywords fields and then in my specified way. 
I thought "no problem" at the beginning, it's just writing a searchbot (after some browsing around for 2 hours..), but "Oh no!", I forgot one basic thing:  How can I tell the standard search component (the fill-in form for it) to ONLY use my searchbot and no other?  Or even better, how can I make it so that next to the standard searchbox I can add the dropdown option "Only search in keywords" ?  Or even better than better, why not allow a dropdown that allow this option for every searchbox (e.g. "only search in contacts", "only search in category x", "only search in keywords", etc..) ??

Any help MUCH appreciated!!  (P.S. This is for a volunteer site to get Technology to the poor http://www.tec4dev.be )
Web development and more -> www.e-builds.com        Never time to make my own website decent though  :'(

e-builds
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sun May 06, 2007 12:33 pm
Contact:

Re: How to an extra drop down nextto the search box?

Post by e-builds » Wed Jan 02, 2008 8:34 pm

Well, I guess it isn't possible.
I did it without integrated search page, but as an apart component after all  :'(

Check here: KeywordSearch
Web development and more -> www.e-builds.com        Never time to make my own website decent though  :'(


Post Reply