Usage: {tag_name}.


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

contact_agent_free.html

contact_agent_pro.html


Tag

Description

lang_VARIABLE

Displays the corresponding lang variable from the Open-Realty® lang file.

listing_id

Renders or displays the current OR Listing ID when the form is called using a valid listing_id $_GET variable, usually via the listing detail page.

agent_id

Renders or displays the current OR Agent ID when the form is called using a valid agent_id $_GET variable, usually via the View Agent or View Agents pages.

listing_title

Renders or displays the Listing Title when the form is called using a valid listing_id $_GET variable, usually via the listing detail page.

listing_agent_first_name

Renders the recipient Agent's first name

listing_agent_last_name

Renders the recipient Agent's last name

member_first_name

Renders the Member's First name once they are logged in.

member_last_name

Renders the Member's Last name once they are logged in.

feedback_formelements

Renders the form elements created via the Lead Form Editor. Required if you intend to collect information other than the user's name and email or the listing ID they were inquiring about.

captcha_display

Displays the captcha image verification set in Site Config. Required.

extra_url

Required for the contact form's <form> action URL

e.g.:

<form name="add_feedback" id="add_feedback"action="index.php?action=contact_agent{extra_url}" method="post">



Block Tags

Template tag Blocks are template tags that  have a starting and ending tag. ALL code inside a block will be displayed or hidden depending on if the block's conditions are met. Starting tags will be listed below. Blocks must be closed with {/TEMPLATE_TAG_block}.  The following template tags are block options:

listing_contact_block

Renders the required hidden listing_id form element contents when the contact form is called via the listing detail page or if the listing_id $_GET var is present in the URL.

e.g.:

{listing_contact_block}

<input type="hidden" name="listingID" value="{listing_id}" />

{/listing_contact_block}

agent_contact_block

Renders the required hidden agent_id form element contents when the contact form is called via the view agent(s) pages or if the agent_id $_GET var is present in the URL.

e.g.:

{agent_contact_block}

<input type="hidden" name="agent_id" value="{agent_id}" />

{/agent_contact_block}

listing_contact_block

Used to display information about the listing inquired upon if the form was called via a listing detail page.

{listing_contact_block}In Regard to: {listing_title} {/listing_contact_block}

user_captcha_failed_block

Block that will be displayed if the user fails to solve the captcha

e.g.:

{user_captcha_failed_block}

<div class="redtext">Captcha Error - Please reenter the captcha information.</div>

{/user_captcha_failed_block}

Related Topics:
General
Users
Social
TEMPLATE DOCUMENTATION
Upgrading/Updating Templates
User Lead Notification
CONTACT AGENT TEMPLATES
Linking to the Contact form from elsewhere
Featured/Random Template Tags
SEARCH PAGE TEMPLATES