×
If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html
Custom search
- Hiciano
- Topic Author
11 years 7 months ago - 11 years 7 months ago #1085
by Hiciano
Custom search was created by Hiciano
Hi There.
Does anyone know if it's possible to start a JooDatabase search from a custom form. How can that be achieved?
Thanks.
Does anyone know if it's possible to start a JooDatabase search from a custom form. How can that be achieved?
Thanks.
Last edit: 11 years 7 months ago by joest.
Please Log in to join the conversation.
- Dirk
- Offline
Less
More
- Posts: 1222
- Thank you received: 226
11 years 7 months ago #1091
by Dirk
Replied by Dirk on topic Re: Custom search
Just generate a form with a search - input field and submit the form to your catalog-view address.
Please Log in to join the conversation.
- Hiciano
- Topic Author
11 years 7 months ago #1092
by Hiciano
Replied by Hiciano on topic Re: Custom search
Thank you and excuse my ignorance but how do I pass the search term from the form to the catalog view?
Please Log in to join the conversation.
- Dirk
- Offline
Less
More
- Posts: 1222
- Thank you received: 226
11 years 7 months ago - 11 years 7 months ago #1093
by Dirk
Take a look at the search form of the example database
You could take form and put it on any html page. As soon as you submit the form the search string in the input named SEARCH will be submitted to joodb.feenders.de/db-example.html
example:
db-example.html?search=cat
This is just a simple example. Take a look at the source of the example database.
Replied by Dirk on topic Re: Custom search
Hiciano wrote: Thank you and excuse my ignorance but how do I pass the search term from the form to the catalog view?
Take a look at the search form of the example database
<form name="searchForm" id="searchForm" method="get" action="http://joodb.feenders.de/db-example.html" >
<input type="hidden" name="Itemid" value="138"/>
<input type='text' maxlength='20' name='search'/>
<input type='submit' value='search...' />
</form>
You could take form and put it on any html page. As soon as you submit the form the search string in the input named SEARCH will be submitted to joodb.feenders.de/db-example.html
example:
db-example.html?search=cat
This is just a simple example. Take a look at the source of the example database.
Last edit: 11 years 7 months ago by Dirk.
The following user(s) said Thank You: Hiciano
Please Log in to join the conversation.
- Hiciano
- Topic Author
11 years 7 months ago #1094
by Hiciano
Replied by Hiciano on topic Re: Custom search
I will give it a try.
Thanks a lot.
Thanks a lot.
Please Log in to join the conversation.
- Hiciano
- Topic Author
11 years 7 months ago #1101
by Hiciano
Replied by Hiciano on topic Re: Custom search
Hi There. It's me again.
Excuse me, but i am new to this.
I don't have an URL to my Joodb catalog like you guys have in joodb.feenders.de/db-example.html
I call mine using a menu declaration in Joomla that goes like this: guiadelaconstruccion.do/index.php?option...ew=catalog&Itemid=11
How do open my catalog with the custom search term?
Thanks.
Excuse me, but i am new to this.
I don't have an URL to my Joodb catalog like you guys have in joodb.feenders.de/db-example.html
I call mine using a menu declaration in Joomla that goes like this: guiadelaconstruccion.do/index.php?option...ew=catalog&Itemid=11
How do open my catalog with the custom search term?
Thanks.
Please Log in to join the conversation.
Moderators: Dirk, joest