Forums / General Questions / install searchbox on different site

install searchbox on different site

Locked

Views: 669

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
5 Nov 2008, 2:12 PM
#1
sam_inv avatar

sam_inv

New Zenner

Join Date:
Oct 2008
Posts:
10
Plugin Contributions:
0

install searchbox on different site

Is it possible to install the Zen cart search on another site?

What I want to do is create 2 sites ( Joomla and Zen).

In the Joomla site I want to include a product search ( Zen)

The adresses wil be https://www.mysite.eu for the static
https://www.mysite.eu/shop for the zen.

How can I do this?

thanks,
Sam

5 Nov 2008, 5:29 PM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: install searchbox on different site

You can add this html (with appropriate edits to suit your styles and structure) to a page on any remote site:-

	<div id="productSearch">
		<form id="quick_find" action="http://www.YOUR-WEBSITE.COM/index.php?main_page=advanced_search_result" method="get">
			<fieldset>
				<label for="keyword">Search our product catalogue</label>
				<input type="text" name="keyword"  id="keyword" size="20" maxlength="100" style="width: 145px" value="Enter search keywords" onfocus="if (this.value == 'Enter search keywords') this.value = '';" onblur="if (this.value == '') this.value = 'Enter search keywords';" />
				<input name="submit" type="submit" class="submit" value="Go" />

				<p><a href="http://www.YOUR-WEBSITE.COM/index.php?main_page=advanced_search">Advanced search ></a></p>
				<input type="hidden" name="main_page" value="advanced_search_result" />
				<input type="hidden" name="search_in_description" value="1" />
			</fieldset>
		</form>
	</div>
5 Nov 2008, 7:16 PM
#3
sam_inv avatar

sam_inv

New Zenner

Join Date:
Oct 2008
Posts:
10
Plugin Contributions:
0

Re: install searchbox on different site

thx a lot I'll give it a go.