Home | Products | Consulting | Hosting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Listings Manager (Realty Manager & Auto Manager):
search_homepage_results issue

 

 


lcklem
New User

Feb 27, 2008, 9:34 AM

Post #1 of 2 (829 views)
Shortcut
search_homepage_results issue Can't Post

I have a custom _search_homepage_results.html template page that I have created to pull results based on a State in the country. I am wanting to show or list some brief information about the agents, but if there are no agents, have the no match found display. Below is the bulk of the code. What am I missing. When the page generates, it shows the agents, but it also shows no match found at the bottom of the page. That should only show if there are no agents available for a particular state.

<!-- template insert : $list$ -->
<!-- templatecell : row_image -->
<table border="0" cellspacing="0" cellpadding="20" width="764">
<tr>
<td valign="top" align="center" width="150">

<table border="0" cellspacing="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td valign="top" align="center"><img src="$homepage_url$/images/$file$" width="100" alt="Photo"></td>
</tr>
</table>

<td valign="top" width="400"><p>
<b>$user_name$</b><br>
$hfield3$<br>
$hfield1$<br>
$hfield14$<br>
Office: $hfield5$<br>
Cell: $hfield7$<br>
E-mail: $hfield8$<br>
Web: $hfield9$<br><br>
$hfield2$</p><br>
</td>
</tr>
</table>
<!-- /templatecell : row_image -->

<!-- templatecell : row_noimage -->
<table border="0" cellspacing="0" cellpadding="20" width="805">
<tr>
<td valign="top" align="center" width="150">

<table border="1" cellspacing="0" cellpadding="0" width="100" height="100">
<tr>
<td bgcolor="#EEEEEE" align="center"><font color="#000080"><b>Photo<br>Not<br>Available</b></font></td>
</tr>
</table>

<td valign="top" width="400"><p>
<b>$user_name$</b><br>
$hfield3$<br>
$hfield1$<br>
$hfield14$<br>
Office: $hfield5$<br>
Cell: $hfield7$<br>
E-mail: $hfield8$<br>
Web: $hfield9$<br><br>
$hfield2$</p><br>
</td>
</tr>
</table>
<!-- /templatecell : row_noimage -->

<!-- templatecell : not found -->
<table width="764" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><br>Sorry, we found no match for your search query.<br>Please try your search again.</font><br></td>
</tr>
</table>
<!-- /templatecell : not_found -->

<!-- result pages -->
<table width="764" cellspacing="0" cellpadding="0">
<tr><td align="center"><br>
<a href="$cgiurl$?$query$&pagenum=$lpage$&template=_search_homepage_results_VHmulti.html" title="Last Page">&lt;&lt;</a> &nbsp;Page $cpage$ of $pcount$&nbsp; <a href="$cgiurl$?$query$&pagenum=$npage$&template=_search_homepage_results_VHmulti.html" title="Next Page">&gt;&gt;</a></form>
<br>
</td></tr></table>
<!-- /result pages -->

Thanks for your help. The quicker I can get this resolved, the better.


Jake
Staff / Moderator


Feb 28, 2008, 10:40 AM

Post #2 of 2 (825 views)
Shortcut
Re: [lcklem] search_homepage_results issue [In reply to] Can't Post

Hi lcklem,

It looks like there's one really small error throwing everything off here. Take a look at this line of code:

<!-- templatecell : not found -->

This line is missing an underscore - try using this intead:

<!-- templatecell : not_found -->

Give that a try and let us know if you need anything else. Smile
-----------------------------------------------------------
Cheers,
Jake Swanson - 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.


 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Hosting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4