09 Sep 2010
Support Center
»
Knowledgebase
»
Variables to use in the tpl files
Variables to use in the tpl files
Solution
There are several files which can be modified in order to customize the design. Some of them are the
tpl files
(located in tpl/visit/style you are using):
- property_description.tpl >> the property details page (properties for rent)
- property_description_sale.tpl >> the property details page (properties for sale)
- property_details_list.tpl >> the properties listing page (it is the same for both "rentals" and "sales" listings)
- property_details_rooms_list.tpl >> hotel rooms listing
The variables which can be used (added / removed) in this files are:
Property description
< % _property_name % >
- only the property name;
< % property_name % > - property name, virtual tour and brochure;
< % description % >
- long description;
< % picture_multiple % > - all property images;
< % picture0 % > ... < % picture10 % >
- property images;
< % ishotel % >
- check if the property is an hotel;
< % isroom % > - check if the property is an hotel room;
< % tpl_auto_rooms % >
- rooms multilanguage text;
< % hotel_rooms % > - hotel rooms;
< % bedrooms % >
- bedrooms number;
< % tpl_auto_Bedrooms % > - bedrooms multilanguage text;
< % baths % >
- bathrooms number;
< % sleeps % > - sleeps number;
< % tpl_auto_Baths % >
- “Baths” multilanguage text;
< % price % >
- property price;
< % pid % > - PID;
< % town % >
- the town;
< % region % > - the region;
< % tpl_auto_rates % >
- rates multilanguage text;
< % information % > - “Special prices” table;
< % tpl_auto_av % >
- “Availability calendar” multilanguage text;
< % calendar % > - “Availability calendar”;
< % tpl_auto_offpack % >
- “Offers & Packages” multilanguage text;
< % holidaypackages % > - “Offers & Packages” table;
< % ratecard % >
- Ratecard;
< % map % >
- MapQuest link;
< % map2 % > - Google map;
< % tellafriend % >
- “Tell a friend”,”Favorites”,”Print this page” links;
< % tellafriend2 % > - “Tell a friend about this property” link;
< % favorites % >
- “Favorites” link;
< % addtofavorites % > - “Add to favorites” link;
< % printthispage % >
- “Print this page” link;
< % askmore % > - “Ask more information” link;
< % tpl_auto_links % >
- “Links” multilanguage text;
< % tpl_auto_add % >
- “Additional services” multilanguage text;
< % additional_fields % > - “Additional services” list;
< % extra_amenities % >
- “Inventory amenities” images;
< % extra_amenities_text % > - “Inventory amenities” text;
< % booking_title % >
- “Booking” text button;
< % booking_url % > - “Booking” button;
< % feedbacklink % >
- “Customer reviews” link;
< % shoppingcart % > - “Shopping Cart” link;
< % _printbroch %>
- the brochure;
< % _vt % > - the virtual tour;
< % customname1 % > ... < % customname5 % >
- custom fields;
< % ad1 % > ... < % ad6 % > - “Selling Points” list;
< % amenities % >
- Amenities;
< % tpl_auto_Amenities % > - Amenities multilanguage text;
Details list
< % picture % > - main image of the property;
< % name % >
- the property name;
< % country % > - the country;
< % shortdescription % >
- short description;
< % bedrooms % > - bedrooms number;
< % baths % >
- bathrooms number;
< % sleeps % > - sleeps number;
< % price2 % >
- the property price;
!NOTE:
The modification made in the property_description.tpl file are displayed in the frontend only if the property display pattern is set on "File template" (admin area >> "Edit property" >> "Modify".
Article Details
Article ID:
84
Created On:
04 Jul 2007 03:49 PM
This answer was helpful
This answer was not helpful
User Comments
Add a Comment
Sharing is good. If you have a comment about this entry, please feel free to share. The comments might be reviewed by our staff, and may require approval before being posted. Questions posted will not be answered. Please submit a Ticket for support requests.
Fullname:
Email: (Optional)
Comments:
Login
[Lost Password]
Email:
Password:
Remember Me:
Search
-- Entire Support Site --
Knowledgebase
Downloads
Troubleshooter
Article Options
Add Comment
Print Article
PDF Version
Email Article
Add to Favorites
Home
|
Register
|
Submit a Ticket
|
Knowledgebase
|
Troubleshooter
|
News
|
Downloads
Language:
English (U.S.)
Help Desk Software By Kayako SupportSuite v3.10.02