Usage: {tag_name}.


The Following tags are available for use within the following Agent template files:


view_users_default.html

Tag

Description

agent_image_full_#

Generates  a complete <img> HTML tag to the full size Agent photo specified by the #. note: first image is:  1

raw_agent_image_full_#

Generates the raw URL to the full size Agent photo specified by the #. note: first image is:  1

agent_image_thumb_#

Displays the agent's thumbnail image that is specified by the #. note: first image is  1

raw_agent_image_thumb_#

Displays the agent's thumbnail image NAME ONLY that is specified by the #. note: first image is 1

agent_id

Displays the Agent's OR ID# for inclusion in a link.

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

Places a link to the agent contact form.

agent_fields

Displays the agent's fields such as phone, address etc.

agent_field_FIELDNAME

Using the name of a user field defined in the agent template editor, you can call the individual field and place it on the page. For example to call the "address" field you would insert {agentr_field_address} into your template, which would result in both the field caption and value being placed in your template, eg. "Address: 1600 Penn Ave."

agent_field_FIELDNAME_value

Works the same as user_field_FIELDNAME, except you only get the field value. eg. "1600 Penn Ave."

agent_field_FIELDNAME_caption

Works the same as user_field_FIELDNAME, except you only get the field caption. eg. "Address"

agent_field_FIELDNAME_rawvalue

Works the same as user_field_FIELDNAME, except you only get the raw field value. For example when calling a number field instead of getting "150,000" you would simply get "150000".

agent_qr_code_link

Places a QR code that links to the Agent's OR profile page.

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.

Related Topics:
Displaying User Images
Add/Edit Agent & Member Fields
User Manager
Edit User
Social
Agent Activation
Agent Lead Notification
Agent Signup Email
Agent Signup Notification
Lead Assigned
User Lead Notification
CONTACT AGENT TEMPLATES
View Agent Template Tags