Usage: {tag_name}.


The following tags are available for use within the following  search page template files:

search_page_default.html

search_page_class_CLASSID.html


Tag

Description

featured_listings_NAME

Renders featured listings using the featured listings template specified in place of "NAME"

browse_all_listings

Renders a text link to "Browse all listings" and shows the total number of listings

search_fields

This renders all of the listing fields that are set to be searchable. This tag MUST be within  the <form> </form> tags of the search form.

agent_searchbox

Renders a drop down list of Agents. Usind within the search form.

show_only_with_images

Renders a check box option for "Show only listings with images" within the search form.

lang_XXXX

Renders the value for any defined language variable. Examples: {lang_show_only_with_images} {lang_show_only_with_vtours} {lang_search_listings}

show_only_with_vtours

Renders a check box option for "Show only listings with virtual tours" on the search page.

search_type

Adds a hidden field to the search form that sets the property class for the search.

postalcode_dist_search

Adds a distance search option to the search page using zip codes. The distance search functions require the use of additional data not provided by Open-Realty®. See the Distance Search Database for details and instructions.

lat_long_dist_search

Adds a distance search option to the search page using Latitude and Longitude positions. Your listings must contain listing fields of type latitude and longitude and have their values populated to use this feature (lat/long data is provided by most MLS systems or can be obtained by other means). Open-Realty will not geocode an address automatically. The distance search functions require the use of additional data not provided by Open-Realty®. See the Distance Search Database for details and instructions.

browse_all_listings_pclass

Displays the browse all listing link, except it links to the listings in the selected property class and shows a count of listings in the current property class. If no property class is selected it falls back to the old display_all_listing link.

full_text_search

Adds a search box that will compare the users entry to all listing field values.

city_dist_search

Adds a distance search option to the search page using city names. The distance search functions require the use of additional data not provided by Open-Realty. See the Distance Search Database for details and instructions.

Note: This will not always be 100% accurate as some city names have multiple zip codes and some some are located in more than 1 state.

search_field_FIELDNAME_element

Provides the ability to display individual search fields by specifying the listing field name in place of FIELDNAME.

Blocks

All code contained on the template inside a block will be controlled according to the block it is contained inside. This is for template designers to control the display of many fields or code by enclosing it in one simple template tag block. A STARTING block will look like a normal template tag but that block must be closed with {/TEMPLATE_TAG} The following template tags are blocks:

templated_search_form_block

Search <form> code should be contained inside this block.  

no_search_results_block

Content inside this block will be displayed when a search is performed and there are no results. If there are results, the content will be hidden. This will be in addition to the code/content outside of this block in the template  but not including any contents within {!no_search_results_block}

!no_search_results_block

Content inside this block will be displayed when a search is performed and there are results. If there are no results, the content will be hidden. This will be in addition to the code outside of this block in the template but not including any contents within {no_search_results_block}

Related Topics:
Upgrading from OR v2.x
Upgrading from existing v3.x installation
Listings Notification
Search Page Options
Search Result Options
Search Page Order Tab
Search Results Order Tab
General
TEMPLATE DOCUMENTATION
Upgrading/Updating Templates
Creating a public site Template
Troubleshooting templates
TEMPLATE SYSTEM LOGIC
PERMISSION TEMPLATE TAGS
Main Template Tags
FEATURED/RANDOM LISTINGS TEMPLATES
Featured/Random Template Tags
SEARCH PAGE TEMPLATES
Custom Search Pages
Date and Time related searches
Multiple Sortby Values
Search Results Template Tags
Search Results
Single Use Hooks
FREQUENTLY ASKED QUESTIONS (FAQs)
TROUBLESHOOTING
License Errors