□
|
activate_listing.tpl - the template displays the status of the listing activation: if an error has occurred during activation the related message is displayed, otherwise a user will see the message that the listing was successfully activated
|
o
|
$errors - the associated array where keys include coding of errors and values include additional text data
|
□
|
add_listing_choose_listing_type.tpl - displays a listing type to add a listing
|
o
|
$listing_types_info - the array of listing types
|
o
|
$listing_package_id - contains the ID of the packages available for a user group
|
o
|
$listing_type_info.id - contains the ID of a listing type
|
o
|
$listing_type_info.name - contains the name of a listing type
|
□
|
add_listing_error.tpl - processes possible errors when a user tries to add a listing
|
o
|
$error - the associated array where keys are field captions and values include coding of errors
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$url - contains the URL from $GLOBALS.site_url
|
□
|
add_listing_success.tpl - displays the status of a new listing: if it was successfully added or not
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$listing_id - the ID of the listing
|
o
|
$no_more_active_listing - shows that a user cannot activate more listings, i.e. a user has reached the limit of active ads number
|
o
|
$is_free - shows that the listing activation is not for free, i.e. a user must pay to activate the listing
|
□ add_to_comparison.tpl - displays the result of adding the listing to a comparison chart
• Local variables:
o $errors - the array with the codes of errors
o $error - the key for specific error
o $smarty.request.listing_id - id of the listing
o $smarty.request.listing_type_sid - system id of the listing type
o $clearChartUrl - url to clear the comparison chart
□
|
browse_by_body_style.tpl - displays the page /browse_by_body_style/ for browsing by the "BodyStyle" field
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$user_page_uri - the URI for the "Browse by Body Style" user page (/browse_by_body_style/)
|
o
|
$TITLE - the title for the page in a browser
|
o
|
$browse_navigation_elements - the array of the navigation elements for browsing
|
o
|
$element.caption - the caption (name) of an element
|
o
|
$element.uri - the URI for the page for the particular element
|
o
|
$listings - the array of the found listings matched search criteria (can be NULL)
|
o
|
$browseItems - the elements for browsing, selected by criteria (field for browsing) and browse level
|
o
|
$browseItem.url - SEO friendly values to pass them to browsing parameters
|
o
|
$browseItem.caption - the caption of the element
|
o
|
$browseItem.count - the number of listings matching browsing criteria
|
o
|
$columnCount - the number of columns
|
□
|
browse_by_make_model.tpl - displays the user page /browse_by_make_model/ for browsing by the "MakeModel" field.
|
o
|
$browseItems - the elements for browsing, selected by criteria (field for browsing)
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$browseItem.url - SEO friendly values to pass them to browsing parameters
|
o
|
$browseItem.caption - the caption of the element
|
o
|
$browseItem.count - the number of listings matching browsing criteria
|
o
|
$columnCount - the number of columns
|
□
|
browse_items_and_results.tpl - displays the page for browsing by the "BodyStyle" field
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$user_page_uri - the URI for the "Browse by Body Style" user page (/browse_by_body_style/)
|
o
|
$TITLE - the title for the page in a browser
|
o
|
$browse_navigation_elements - the array of the navigation elements for browsing
|
o
|
$element.metadata - contains the domain for internationalization, e.g. for the MakeModel field the domain is "Property_MakeModel"
|
o
|
$element.caption - the caption (name) of an element
|
o
|
$element.uri - the URI for the page for the particular element
|
o
|
$browseItems - the elements for browsing, selected by criteria (field for browsing) and browse level
|
o
|
$browseItem.url - SEO friendly values to pass them to browsing parameters
|
o
|
$browseItem.caption - the caption of the element
|
o
|
$browseItem.count - the number of listings matching browsing criteria
|
o
|
$columnCount - the number of columns
|
□ clear_comparison.tpl - displays the result of removing all listings from a comparison chart
• Local variables:
o $errors - the array with the codes of errors
o $error - the key for specific error
□ compared_listings.tpl - displays a comparison chart
• Local variables:
o $listingsIds - the array of ids of compared listings
o $form_fields - the array, where keys are ids of the fields and values are the data for the form fields
• Used functions:
o {display} - displays the property of the listing
• Parameters:
o property - id of the property
o object_sid - id of the listing
□
|
contact_seller.tpl - the form for the email from a user to the owner of the specified listing.
|
o
|
$is_data_submitted - checks if the "Contact Seller" form has been submitted. If it is not, the "Contact Seller" form is displayed and a user can fill it in.
|
o
|
$errors - the array where keys are coding of errors and values are the additional information
|
o
|
$error_code - the code for specific error
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$listing.id - the ID of the listing
|
□
|
delete_uploaded_file.tpl - the template for deleting video files from the listing
|
o
|
$errors - the array where keys are coding of errors and values are the additional information
|
o
|
$error - the code for specific error
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$listing.id - the ID of the listing
|
□
|
display_listing.tpl - displays listing from the search results page.
|
o
|
$listing.[field_id] - a listing field. For example, to display car make it is $listing.MakeModel.Make, to display year - $listing.Year etc. You can see all available listing fields in Admin Panel -> Listing Management -> Listing Fields or Admin Panel -> Listing Management -> Listing Types -> edit a type
|
o
|
$errors - the array where keys are coding of errors and values are the additional information
|
o
|
$error_code - the code for specific error
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$listing_id - listing ID
|
o
|
$search_criteria.ZipCode.value.location - the radius distance search value and zip code which a user used as search criteria for the search form
|
o
|
$prev_next_ids.prev - the ID of the previous listing on the search results page
|
o
|
$prev_next_ids.next - the ID of the next listing on the search results page
|
o
|
{include} - includes another file
|
Parameters:
▪
|
file - the name of included file. Includes the listing_details.tpl file to display a full listing.
|
▪
|
listing - the ID of the listing to display
|
□ edit_calendar.tpl - displays the calendar management page
• Local variables:
o $ERRORS - the array where keys are codes of errors and values are extra data for the error
o $listing_sid - ID of the listing
o $field_sid - ID of the listing field for the calendar
o $calendar - the array of the reserved periods. Each period contains such data as 'from' - start date, 'to' - end date and 'comment' - comment for this period
□
|
edit_listing.tpl - displays the listing from the search results page.
|
o
|
$errors - the array where keys are coding of errors and values are the additional information
|
o
|
$error_id - the key for specific error
|
o
|
$error_data - the data of the specific error
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$listing_id - listing ID
|
o
|
$listing.featured - contains the data if the listing is featured
|
o
|
$listing.package - the package for the listing
|
o
|
$listing.type.id - the ID of the listing type: Admin Panel -> Listing Management -> Listing Types
|
o
|
{include} - includes another file
|
Parameters:
▪
|
file - the name of included file. Includes field_errors.tpl to display errors and input forms to display the fields of the current listing type.
|
□
|
edit_picture.tpl - template to edit pictures for a listing
|
o
|
$picture_id - the ID of the picture
|
o
|
$listing_id - the ID of the listing
|
o
|
$picture.thumbnail_url - the URL of a thumbnail picture
|
o
|
$picture.caption - the caption for a picture
|
□
|
error.tpl - contains the description for errors
|
o
|
$ERRORS - the array where keys are coding of errors and values are the additional information
|
o
|
$error - the key for specific error
|
o
|
$error_message - the data of the specific error
|
□
|
featured_listings.tpl - displays featured listings block. You can insert the code to display this block to any Page template as follows:
{module name="classifieds" function="featured_listings" number_of_rows="4" number_of_cols="1"}
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$listing_id - listing ID
|
o
|
$listing.[field_id] - a listing field. For example, to display car make it is $listing.MakeModel.Make, to display year - $listing.Year etc. You can see all available listing fields in Admin Panel -> Listing Management -> Listing Fields or Admin Panel -> Listing Management -> Listing Types -> edit a type
|
o
|
$listing.pictures.0 - the first picture of the listing.
|
o
|
$GLOBALS.custom_settings.listing_currency - the current currency, which is used for payments (Admin Panel -> System Configuration -> Custom Settings -> edit transaction_currency)
|
□ featured_listings_rss.tpl - displays all featured listings in RSS format
• Local variables: none
• Used functions:
o {module} - executes module function and outputs its result
• Parameters:
o name - module name
o function - function name
o parameters for the certain module function
□
|
field_errors.tpl - contains the description for errors related to listing fields
|
o
|
$field_errors - the array of where keys are coding of errors and values are the additional information
|
o
|
$error - the key for specific error
|
o
|
$field_caption - the caption (name) of the field
|
□
|
input_form.tpl - the template to add a listing
|
o
|
$listing_package_id - the ID of the listing package
|
o
|
$listing_type_id - the ID of the listing type
|
o
|
{include} - includes another file
|
Parameters:
▪
|
file - the name of included file. Includes the following files:
|
|
field_errors.tpl - contains the description for errors related to listing fields
|
|
input_form_car.tpl - displays the fields of the "Car" listing type (Admin Panel -> Listing Management -> Listing Types -> edit "Car")
|
|
input_form_default.tpl - displays common listing fields (Admin Panel -> Listing Management -> Listing Fields)
|
□
|
input_form_car.tpl - the template to add a listing of the "Car" listing type (Admin Panel -> Listing Management -> Listing Types -> edit "Car")
|
o
|
$form_fields.[field_id].caption - the caption of the listing field. For example, to display the caption of the Year field it is $form_fields.Year.caption
|
o
|
$form_fields.[field_id].is_required - contains the data if the field is required, e.g. $form_fields.MakeModel.is_required
|
o
|
$GLOBALS.custom_settings.listing_currency - the current currency, which is used for payments (Admin Panel -> System Configuration -> Custom Settings -> edit transaction_currency)
|
o
|
$package.video_allowed - contains the data if the video is allowed for the listing package ("Is Video Allowed" parameter for a package)
|
□
|
input_form_default.tpl - this template is used to create an ad of a listing type, which does not have its own input form. In this case only common listing fields are used (Admin Panel -> Listing Management -> Listing Fields)
|
o
|
$form_field.id - the ID of the listing field.
|
o
|
$package.video_allowed - contains the data if the video is allowed for the listing package ("Is Video Allowed" parameter for a package)
|
o
|
$form_fields.[field_id].caption - the caption of the listing field. For example, to display the caption of the Year field it is $form_fields.Year.caption
|
o
|
$form_fields.[field_id].is_required - contains the data if the field is required, e.g. $form_fields.MakeModel.is_required
|
□ last_listings_rss.tpl - displays N number of last listings in RSS format
• Local variables:
o $GLOBALS.custom_settings.number_of_last_listings_for_rss - number of listings to display
• Used functions:
o {module} - executes module function and outputs its result
• Parameters:
o name - module name
o function - function name
o parameters for the certain module function
□
|
listing_details.tpl - displays a listing. See the image with the blue border, which encloses the area described in listing_details.tpl, below the description.
|
o
|
$listing.[field_id] - a listing field. For example, to display car make it is $listing.MakeModel.Make, to display year - $listing.Year etc. You can see all available listing fields in Admin Panel -> Listing Management -> Listing Fields or Admin Panel -> Listing Management -> Listing Types -> edit a type
|
o
|
$GLOBALS.custom_settings.listing_currency - the current currency, which is used for payments (Admin Panel -> System Configuration -> Custom Settings -> edit transaction_currency)
|
o
|
$listing.pictures.0 - the first picture of the listing
|
o
|
$listing_id - listing ID
|
o
|
$listing.Video.file_url - the path for video file of the listing
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$listing.user.FirstName - the first name of the user - the owner of the listing
|
o
|
$listing.user.LastName - the last name of the owner of the listing
|
o
|
$listing.user.PhoneNumber - the phone number of the owner of the listing
|
o
|
$listing.user.DisplayEmail - contains the data if the owner of the listing wants his email to be displayed
|
o
|
$listing.user.email - the email of the owner of the listing
|
o
|
$listing.user.DealershipWebsite - the website of the owner of the listing
|
o
|
$listing.user.DealershipLogo.file_url - the path for the logo file of the owner of the listing
|
o
|
$listing.views - the number of listing views
|
o
|
$form_fields.[field_id].caption - the caption of the listing field.
|
□
|
listing_display.tpl - displays the additional menu block for the listing. See the image with the blue border, which encloses the area described in listing_display.tpl, below the description.
|
o
|
$errors - the array where keys are coding of errors and values are the additional information
|
o
|
$error_code - the key for specific error
|
o
|
$error_data - the data of the specific error
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$listing_id - listing ID
|
o
|
$search_criteria.ZipCode.value.location
|
o
|
{include} - includes another file
|
Parameters:
▪
|
file - the name of included file. Includes listing_details.tpl to display the listing.
|
□
|
listing_images.tpl - displays pictures for the listing
|
o
|
$listing.pictures.0 - the first picture of the listing
|
o
|
$listing.pictures - the array of all pictures of the listing
|
o
|
$picture.picture_url - the URL of a picture
|
o
|
$picture.caption - the caption for a picture
|
o
|
$picture.thumbnail_url - the URL of a thumbnail picture
|
□
|
listing_info.tpl - displays short listing details on the search results page.
|
o
|
$listing_id - listing ID
|
o
|
$listing.pictures.0 - the first picture of the listing
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$linkz - the URI for the full listing details page (/listing_details/)
|
o
|
$listing.[field_id] - a listing field. For example, to display car make it is $listing.MakeModel.Make, to display year - $listing.Year etc. You can see all available listing fields in Admin Panel -> Listing Management -> Listing Fields or Admin Panel -> Listing Management -> Listing Types -> edit a type
|
o
|
$listing.pictures.0.thumbnail_url - the path to the thumbnail image of the first picture
|
o
|
$listing.number_of_pictures - number of pictures of the listing
|
o
|
$GLOBALS.custom_settings.listing_currency - the current currency, which is used for payments (Admin Panel -> System Configuration -> Custom Settings -> edit transaction_currency)
|
o
|
$listing.activation_date - the date when a user activated the listing
|
o
|
$listing.user.group.caption - the caption of the listing's owner user group
|
□
|
listing_package_choice.tpl - template to choose a package for the listing
|
o
|
$listing_packages - the array of available packages for the listing
|
o
|
$listing_package.id - contains the ID of the packages available for a user group
|
o
|
$listing_package.name - contains the name of a listing package
|
o
|
$listing_package.description - the description of a package
|
□
|
loan_calculator.tpl - displays calculator from the listing_display.tpl
|
o
|
$amount - the price of the listing item which is placed to the "Loan Amount" field
|
o
|
$GLOBALS.custom_settings.listing_currency - the current currency, which is used for payments (Admin Panel -> System Configuration -> Custom Settings -> edit transaction_currency)
|
□
|
main_browse_by_body_style.tpl - displays the browsing by the "BodyStyle" field block on the main page. You can use the following code to put this block in a Page template:
{module name="classifieds" function="browse" level1Field="BodyStyle" browse_template='main_browse_by_body_style.tpl'}
|
o
|
$browseItems - the elements for browsing, selected by criteria (field for browsing) and browse level
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$browseItem.url - SEO friendly values to pass them to browsing parameters
|
o
|
$browseItem.caption - the caption of the element
|
o
|
$browseItem.count - the number of listings matching browsing criteria
|
o
|
$columnCount - the number of columns
|
□
|
make_listing_featured.tpl - the template displays the status of making a listing featured: if an error has occurred the related message is displayed, otherwise a user will see the message that the listing was successfully made featured
|
o
|
$errors - the array with errors
|
o
|
$error - the code for specific error
|
□
|
manage_listing.tpl - the page of listing management
|
o
|
$errors - the array with errors (PARAMETERS_MISSED, WRONG_PARAMETERS_SPECIFIED, NOT_OWNER)
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$listing.id - the ID of the listing
|
o
|
$listing.active - contains the data if the listing is active
|
o
|
$listing.package.price - the price for listing package
|
o
|
$listing.featured -contains the data if the listing is featured
|
□
|
manage_pictures.tpl - the page of picture management
|
o
|
$field_errors - the array of errors related to listing fields where keys contain coding of errors and values contain additional text data
|
o
|
$error - the key for specific error
|
o
|
$field_caption - the caption (name) of the field
|
o
|
$errors - the array contained errors (PARAMETERS_MISSED, WRONG_PARAMETERS_SPECIFIED, NOT_OWNER)
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$listing.number_of_picture - the number of pictures in the listing
|
o
|
$listing.package.number_of_picture_allowed - the number of pictures allowed for the package of the listing
|
o
|
$pictures - the array of all pictures of the listing
|
o
|
$picture.thumbnail_url - the URL of a thumbnail picture
|
o
|
$picture.caption - the caption for a picture
|
o
|
$picture.id - the ID of a listing picture
|
□
|
my_listings.tpl - the page for a user to manage his listings
|
o
|
$listings - the array of all listings of the user
|
o
|
$search_criteria - the array of search criteria
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$url - a full path to the /add_listing/ page
|
o
|
$listing_search.listings_number - the number of listings of the user
|
o
|
$listings_number - the number of listings of the user
|
o
|
$listing_search.listings_per_page - the number of listings to display on one page
|
o
|
$property.[field_ID].is_sortable - checks if a field can be used for sorting ($property.Price.is_sortable). For example, a user has listings of the "Cars For Sale" listing type which has the "Price" field and "Cars For Rent", which has the "Rent" field. Thus, all listings of the user cannot be sort by the "Price" or "Rent" fields.
|
o
|
$sorting_order - the order of sorting (ascending/descending)
|
o
|
$sorting_field - the ID of a field which will be used for sorting
|
o
|
$listing.id - the ID of a listing
|
o
|
$listing.[field_id] - a listing field. For example, to display car make it is $listing.MakeModel.Make, to display year - $listing.Year etc. You can see all available listing fields in Admin Panel -> Listing Management -> Listing Fields or Admin Panel -> Listing Management -> Listing Types -> edit a type
|
o
|
$listing.active - contains the data if the listing is active
|
o
|
$listing.featured - contains the data if the listing is featured
|
o
|
{include} - includes another file
|
Parameters:
▪
|
file - the name of included file. Includes the listing_info.tpl file to short listing details.
|
▪
|
linkz - the URI for the full listing details page (/listing_details/)
|
□
|
my_listings_form.tpl - displays the search form on the "My Listing" page
|
□
|
pay_for_listing.tpl - processes errors for free listing activation and displays the message "Your listing is successfully activated"
|
o
|
$errors - the associated array where keys include coding of errors and values include additional text data
|
o
|
$error - the code for specific error (LISTING_ID_NOT_SPECIFIED, WRONG_LISTING_ID)
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
□
|
print_listing.tpl - processes errors and displays full listing details
|
o
|
$errors - the associated array where keys include coding of errors and values include additional text data
|
o
|
$error_code - the code for specific error (UNDEFINED_LISTING_ID, WRONG_LISTING_ID_SPECIFIED, LISTING_IS_NOT_ACTIVE)
|
o
|
{include} - includes another file
|
Parameters:
▪
|
file - the name of included file. Includes the listing_info.tpl file to short listing details.
|
▪
|
listing - the ID of the listing
|
□
|
quick_search.tpl - quick search form from the main page
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$listing_type_id - the ID of the listing type
|
□ rate_listing.tpl - displays the result of rating the listing
• Local variables:
o $current_rate - current rate of the listing
o $HTTP_REFERER - the address of the page (if any) which referred the user agent to the current page
□ remove_from_comparison.tpl - displays the result of removing the listing from a comparison chart in case the error occurs
• Local variables:
o $errors - the array with the codes of errors
o $error - the key for specific error
□
|
save_listing.tpl - informs if the listing was saved successfully ("Listing has been saved")
|
o
|
$error - displays the error if the listing ID is not specified (LISTING_ID_NOT_SPECIFIED)
|
□
|
save_search_failed.tpl - processes the error 'COOKIE_MAX_SIZE_EXCEEDED' and displays the message "Maximum query storage capacity exceeded for you as an unregistered user. To save more searches, please login or register"
|
o
|
$errors - the associated array where keys include coding of errors and values include additional text data
|
o
|
$error - the code for the specific error
|
□
|
save_search_form.tpl - displays the form to save a search (it is necessary to specify a name for the saved search)
|
□
|
save_search_success.tpl - displays the message that a search was successfully saved
|
□
|
saved_listings.tpl - the page with saved listings, displays "There are no saved listings" if there are no saved ads.
|
o
|
$listings - the array of all listings of the user
|
o
|
$listing.user.PhoneNumber - the phone number of the owner of the listing
|
o
|
$listing_id - listing ID
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$listing.[field_id] - a listing field. For example, to display car make it is $listing.MakeModel.Make, to display year - $listing.Year etc. You can see all available listing fields in Admin Panel -> Listing Management -> Listing Fields or Admin Panel -> Listing Management -> Listing Types -> edit a type
|
o
|
$listing.Video.file_url - the path for video file of the listing
|
o
|
{include} - includes another file
|
Parameters:
▪
|
file - the name of included file. Includes the listing_info.tpl file to short listing details.
|
▪
|
linkz - the URI for the full listing details page (/listing_details/)
|
□
|
saved_searches.tpl - the page with saved searches, displays "You have not saved any searches yet" if there are no saved searches.
|
o
|
$saved_searches - the array contained saved searches
|
o
|
$saved_search.name - the name of a saved search
|
o
|
$saved_search.id - the numeral ID of a saved search
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$saved_search.data - the array with the data containing search criteria of the saved search.
|
o
|
$criteria_fields - the array of fields for the saved search
|
o
|
$criterion_field - a specific criteria for a field
|
o
|
$user_logged_in - shows if a user is logged in
|
o
|
$saved_search.auto_notify - shows a status of a user's auto notification for the saved search criteria.
|
Here is what you can see if you debug the saved_searches.php:
□
|
search_form.tpl - displays a full search form (/search/)
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$listing_type_id - the ID of the listing type
|
o
|
$form_fields.[field_id].caption - the caption of the listing field. For example, to display the caption of the Year field it is $form_fields.Year.caption
|
□
|
search_results.tpl - displays search results
|
o
|
$GLOBALS.site_url - the global variable containing a full URL of the site
|
o
|
$errors - the associated array where keys include coding of errors and values include additional text data
|
o
|
$listings - the array of listings
|
o
|
$listing_search.listings_number - the number of listings found
|
o
|
$listings_number - taken from $listing_search.listings_number
|
o
|
$search_criteria.ZipCode.value.location - the zip code which a user used as search criteria for the search form
|
o
|
$search_criteria.ZipCode.value.radius - the value for radius distance search
|
o
|
$GLOBALS.radius_search_unit - the units for search radius distance which is defined in Admin Panel -> System Configuration -> System Settings -> General Settings -> Radius Search Unit (miles/kilometers)
|
o
|
$radius - taken from $search_criteria.ZipCode.value.radius
|
o
|
$radius_search_unit - taken from $smarty.capture.radius_search_unit which is from $GLOBALS.radius_search_unit
|
o
|
$location] - taken from $search_criteria.ZipCode.value.location
|
o
|
$listing_search.listings_per_page - the number of listing per page that can be shown in search results
|
o
|
$listing_search.sorting_order - search results' sorting order (ascending/descending)
|
o
|
$listing_search.sorting_field - the ID of a field which will be used for sorting
|
o
|
$listing.user.PhoneNumber - the phone number of the owner of the listing
|
o
|
$listing_id - listing ID
|
o
|
$listing.[field_id] - a listing field. For example, to display car make it is $listing.MakeModel.Make, to display year - $listing.Year etc. You can see all available listing fields in Admin Panel -> Listing Management -> Listing Fields or Admin Panel -> Listing Management -> Listing Types -> edit a type
|
o
|
$listing.[field_id].file_url - the path for the file related to this field. For example, $listing.Video.file_url is the path to the video file.
|
o
|
{include} - includes another file
|
Parameters:
▪
|
file - the name of included file. Includes the "error.tpl" file which processes possible errors. Includes the listing_info.tpl file to short listing details.
|
▪
|
linkz - the URI for the full listing details page (/listing_details/)
|
□
|
tell_friend.tpl - the form for the email from a user to a third party recipient
|
o
|
$is_data_submitted - checks if the "Tell a Friend" form has been submitted. If it is not, the "Tell a Friend" form is displayed and a user can fill it in.
|
o
|
$errors - the array where keys are coding of errors and values are the additional information
|
o
|
$error_code - the code for specific error
|
o
|
$listing.id - the ID of the recommended listing
|
□
|
video_player.tpl - the form for the email from a user to a third party recipient
|
o
|
$listing.Video.file_url - the path for the video file related to the "Video" field.
|
|