View users template tags

From Open-Realty Wiki

Jump to: navigation, search

Each tag in the template system looks like this {tag_name}. The Following tags are available from the View Users templates.

Tag Description
agent_image_thumb_# Displays the agent's thumbnail image that is specified by the #. note: first image is 0, NOT 1
raw_agent_image_thumb_# Displays the agent's thumbnail image NAME ONLY that is specified by the #. note: first image is 0, NOT 1
agent_id Displays the agent's ID for inclusion in a link. For example: <a href="index.php?action=view_user&user={agent_id}">Click Here</a>
agent_first_name Displays the agent's first name.
agent_last_name Displays the agent's last name
agent_contact_link Renders a link to the agent contact form.
agent_fields Displays the agent's fields such as phone, address etc.
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:
user_block The block for the display of each user. Code inside the block will be repeated for each user.
agent_image_thumb_#_block Block for the agent's thumbnail image specified by the #. If there isn't a thumbnail matching that number then code inside this block will not be displayed.
Personal tools