Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Listings Manager (Realty Manager & Auto Manager):
Search Help Please

 

 


thenetgirl
User

Oct 10, 2008, 11:55 AM

Post #1 of 5 (8636 views)
Shortcut
Search Help Please Can't Post

I am trying to put a quick search on the frontpage here http://www.agdavi.com/2008/1/index.html

each property type has a differnt template for results is there a way to add more than one template with a keyword files name="lfield25_keyword" so that it lands on the correct page.

I have read all the post and the differnt way to do it but I seem to be missing something as no matter what I try it comes up with a blank results page.



<form method="get" action="http://www.agdavi.com/cgi-bin/LISTMAN/exec/search.cgi">

<input type="hidden" name="search" value="1">
<input type="hidden" name="perpage" value="30">
<!--<input type="hidden" name="sort_order" value="1,abc,forward">-->
<input type="hidden" name="marknew" value="1">
<input type="hidden" name="euro_numbers" value="0">

<input type="hidden" name="lfield25_keyword" value="???????">
<input type="hidden" name="template" value="_search_results.html">


<select name="template">
<option value="" selected>Choose Property</option>
<option value="rs_search_results.html">Residential_Sale</option>
<option value="cs_search_results.html">Commercial_Sale</option>
<option value="cl_search_results.html">Commercial_Lease</option>
<option value="vr_search_results.html">Vacation_Rental</option>
<option value="rr_search_results.html">Residential_Rental</option>

thanks

Patricia


Jake
Staff / Moderator


Oct 12, 2008, 4:13 PM

Post #2 of 5 (8626 views)
Shortcut
Re: [thenetgirl] Search Help Please [In reply to] Can't Post

Hi Patricia,

The only way to use the search as you have it set up now would be to write some javascript that changes the value in the hidden lfield25_keyword form field based off of the selection in your template drop-down menu. Otherwise, you need to set up a completely separate search form for each type of property.

Let us know if you have any other questions. Smile
-----------------------------------------------------------
Cheers,
Jake Marvin - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


thenetgirl
User

Oct 13, 2008, 6:26 PM

Post #3 of 5 (8617 views)
Shortcut
Re: [Jake] Search Help Please [In reply to] Can't Post

HI Jake Thanks .......... I have been trying to follow the instructions here http://www.interactivetools.com/iforum/gforum.cgi?post=54479;search_string=obj.form%20;t=search_engine#54479

I keep missing something but not really sure what..............it just goes to a blank search results


<script language="JavaScript">
<!--
var val=['','rs_search_results.html','cs_search_results.html','cl_search_results.html','vr_search_results.html', 'rr_search_results.html']
function populateHidden(obj){
obj.form['template'].value=val[obj.selectedIndex];
}
//-->
</script>

Put this before</head>

<form method="get" action="http://www.agdavi.com/cgi-bin/LISTMAN/exec/search.cgi/">
<center>
<table cellSpacing="1" border="0" id="table32">
<tr>
<td>
<p align="center">

<font size="4">&nbsp;</font><p align="center">

<input type="hidden" name="search" value="1">
<input type="hidden" name="perpage" value="30">
<input type="hidden" name="sort_order" value="1,abc,forward">
<input type="hidden" name="marknew" value="1">
<input type="hidden" name="euro_numbers" value="0">


<input type="hidden" name="lfield25_match" value="">

<select name="lfield25_match" onchange="populateHidden(this)">
<option value="" selected>Property_Type</option>
<option value="Residential_Sale">Residential_Sale</option>
<option value="Commercial_Sale">Commercial_Sale</option>
<option value="Commercial_Lease">Commercial_Lease</option>
<option value="Vacation_Rental">Vacation_Rental</option>
<option value="Vacation_Rental">Residential_Rental</option>

</select>


thenetgirl
User

Oct 13, 2008, 6:57 PM

Post #4 of 5 (8614 views)
Shortcut
Re: [thenetgirl] Search Help Please [In reply to] Can't Post

HI Jake update on above mesasge

I have be able to get it to sort by keyword but not produce the results on the correct template for that preoprty type.

Help Please

thanks

PG


thenetgirl
User

Oct 15, 2008, 4:05 PM

Post #5 of 5 (8534 views)
Shortcut
Re: [thenetgirl] Search Help Please [In reply to] Can't Post

Still looking for some guidance please