Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
Search... gotta be simple!

 

 


Toledoh
Enthusiast

Sep 5, 2006, 9:09 PM

Post #1 of 4 (1496 views)
Shortcut
Search... gotta be simple! Can't Post

Hi All,

Maybe it's just "can't see the forest for the trees" but I can't get the search to act as I want... you can see at http://www.angourieresort.com.au/invest/ the site is really getting there - with all the content being feed from AM into XML, then sucked into Flash. This search area is about the final step before launch... BUT...

The form is http://www.angourieresort.com.au/invest/admin/exec/search.cgi

I'm basically trying to get the search to just search a single category, then act on the user requirements for keyword and/or status and/or type. If all fields are left blank, then the entire list of articles in that category is displayed.

Please help...

My code within advanced_search.html is:

Code
<form action="$url_search$" method="post"> 

<blockquote>
<table border=0 align="center" cellpadding=0 cellspacing=0>
<tr>
<td width="150">Apartment / Villa</td>
<td><div align="left">
<input class="form_style" name="keyword" value="">
<input type="hidden" name="perpage" value="50">
<input type="hidden" name="cat" value="26">
</div></td>
</tr>
<tr>
<td >Type</td>
<td>
<div align="left">
<select class="form_style" fields="$art_field1$" name="keyword" >
<option selected value="">Any</option>
<option value="GARDEN">Garden Apartment</option>
<option value="LOFT">Loft Apartment</option>
<option value="DELUXE">Deluxe Villa</option>
<option value="STANDARD">Standard Villa</option>
<option value="ACCESSIBLE">Accessible Villa</option>
</select>
</div></td>
</tr>
<tr>
<td>Status</td>
<td><div align="left">
<select class="form_style" fields="$art_field9$" name="keyword">
<option selected value="">Any</option>
<option value="Available">AVAILABLE</option>
<option value="Hold">ON HOLD</option>
<option value="Sold">SOLD</option>
</select>
</div></td>
</tr>
<tr>
<td></td>
<td>
<div align="left"></div></td>
</tr>
<tr>
<td class="general_text">&nbsp;</td>
<td align=right><div align="left">
<input class="form_style" type="submit" name="search" value="Search">
</div></td>
</tr>
</table>
</blockquote>
</form>


Thanks in advance!

Tim
Cheers,

Tim Forrest
Toledoh Enterprises
www.toledoh.com.au


ross
Staff / Moderator


Sep 6, 2006, 10:46 AM

Post #2 of 4 (1472 views)
Shortcut
Re: [TF Solutions] Search... gotta be simple! [In reply to] Can't Post

Hi Tim.

Thanks for posting!

Could I get a few more details here? Basically, I can see your form and it seems to work just fine. What I would need to know is what isn’t working properly with it as I don’t know if the results I am getting are actually accurate. Based on your code, I can see that the search is sticking to category 26.

If you could give me a bit more detail, I am sure we can get something worked out here. I look forward to hearing from you Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com

Hire me!  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
Priority Consulting: http://www.interactivetools.com/consulting/



Toledoh
Enthusiast

Sep 6, 2006, 1:58 PM

Post #3 of 4 (1469 views)
Shortcut
Re: [ross] Search... gotta be simple! [In reply to] Can't Post

Hi Ross,

Thanks for the quick response. The form looks fine - but for instance, if I typed in "101" in the "Apartment / Villa" section, I would expect the results to show just Apartment 101. If I select "GARDEN" in the "TYPE" pull down, I'd expect to see just the GARDEN apartments in the results, but I currently get everything.

Cheers,
Cheers,

Tim Forrest
Toledoh Enterprises
www.toledoh.com.au


ross
Staff / Moderator


Sep 7, 2006, 11:54 AM

Post #4 of 4 (1446 views)
Shortcut
Re: [TF Solutions] Search... gotta be simple! [In reply to] Can't Post

Hi Tim.

Thanks for clearing that up for me Smile.

I see what’s happening here now. Basically, Article Manager is setup to do keyword searches through all your fields or just a few specific fields. What that means is that most Article Manager searches would only have one keyword field setup instead of two because they will end up getting in each other’s way.

What I am thinking you could do is a little re-organization so that instead of the different types as a field in your system, setup different categories for each type. That way, the drop down menu there could be setting which category to search on instead of another keyword field. From there, you should be able to just search for apartment 101 in the Garden Apartment category.

Does that sound like it would work? Let me know what you think Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com

Hire me!  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
Priority Consulting: http://www.interactivetools.com/consulting/