Usage: {tag_name}.


The following tags are available for use within the following Edit Listings template:

listing_editor.html


Tag

Description

listing_dataset

BEGINS the section for the display of each listing in the listing editor. This section of the template will be repeated for each listing. This section must be closed with {/listing_dataset}

listingid

Displays the listing ID on the listing view page.

listing_title

This places the listing's title on the page.

listing_pclass

Displays the name of the property class the listing is assigned to.

listing_agent_last_name

Displays the listing agent's last name.

listing_agent_first_name

Displays the listing agent's first name.

listing_creation_date

Displays the listing's creation date.

listing_expiration

Displays the listing's expiration date. (Use with block; show_expiration_block to hide this if expiration is not used)

listing_notes

Displays the contents of the listing's notes field.

listing_active_status

If the listing is active returns "Yes" otherwise returns "No".

listing_featured_status

If the listing is featured returns "Yes" otherwise returns "No".

edit_listing_link

Returns the url to edit the listing for use in a link,

example:

<a href="{edit_listing_link}"><img src="images/no_lang/listing_editor_edit.jpg" alt="{lang_admin_listings_editor_modify_listing}" width="16" height="16"></a>

delete_listing_link

Returns the url to delete the listing for use in a link.

example:

<a href="{delete_listing_link}" onClick="return confirmDelete()"><img src="images/no_lang/listing_editor_delete.jpg" alt="{lang_admin_listings_editor_delete_listing}" width="16" height="16"></a>

listing_hit_count

Returns the listing's hit count

listing_creation_date

Displays the listing's creation date in the configured Open-Realty date format.

listing_last_modified_date

Displays the listing's modification date in the configured Open-Realty date format.

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:

show_expiration_block

will hide or show expiration date depending on the use expiration setting

Other/Miscellaneous

row_num_even_odd

Gets the currently rendering row number and returns it as 0 or 1. This is used, in combination with the stylesheet to alternate table row colors. Proper usage of this tag in your template would be:

<tr class="result_row_{row_num_even_odd}">