Back to index

3.2 Element tags, full list

Primary Element Tags

TourCMStour

SummaryTour/Hotel specific content
Example<$TourCMStour t_id="4" output="t_code"$>
Requirest_id or f_id or d_id, output
Outputs
t_idInternal tour ID
t_codeTour code
t_nameTour/Hotel name - Short
t_name_longTour/Hotel name - Long
t_name_internalTour/Hotel name - Internal
t_typeTour type t - Tour, hd - Hotel (Days), hn - Hotel (Nights)
t_shortdescShort description
t_longdescLong description
t_has_departure_offer1 if any of the bookable departures have a special offer, 0 otherwise
t_has_sale1 if there is a bookable departure or bookable freesale season, 0 otherwise
t_has_freesale1 if has a bookable freesale season, 0 otherwise
t_has_departure1 if has a bookable departure, 0 otherwise
t_has_sale_jan
t_has_sale_feb
t_has_sale_mar
t_has_sale_apr
t_has_sale_may
t_has_sale_jun
t_has_sale_jul
t_has_sale_aug
t_has_sale_sep
t_has_sale_oct
t_has_sale_nov
t_has_sale_dec
1 - Future product on sale (by the month)
0 - No future product on sale (by the month
t_from_priceLowest bookable price (either freesale season or departure)
See price formatting
t_from_price_displayLowest bookable price (either freesale season or departure), with currency
See price formatting
t_book_urlURL of the booking engine start page. You may prefer to use specific departure or freesale season start pages
t_tour_urlURL of the tour information page
t_tour_url, partner, miscURL of the tour information page
If partner ID and misc. ID are set, a redirect URL is returned that includes the marketing tracking
t_datesprices_urlURL of the dates / prices page
t_datesprices_url, partner, miscURL of the dates / prices page
If partner ID and misc. ID are set, a redirect URL is returned that includes the marketing tracking
t_has_info_option1 if there is an option to be displayed on the WEB page (not just the booking page). Does not take into account whether the option is bookable
t_has_info_option, o_type1 if there is an option to be displayed on the WEB page (not just the booking page). Does not take into account whether the option is bookable. o_type restricts the option types to be checked e.g. o_type="1,3"
t_category_text_g1
t_category_text_g2
t_category_text_g3
t_category_text_g4
t_category_text_g5
Text of the categories in the group such as "Cycling, Fishing, Swimming"
t_distributeTourCMS Marketplace on / off (1 on, 0 off)
t_countryThe list of countries used for distribution "GB,FR,DE"
t_addressPostal address
t_start_latStart point - Latitide
t_start_longStart point - Longitude
t_end_latEnd point - Latitide
t_end_longEnd point - Longitude
t_start_geocodeStart point - Latitude SPACE Longitude
t_end_geocodeEnd point - Latitude SPACE Longitude
t_start_geocode_cStart point - Latitude COMMA Longitude
t_end_geocode_cEnd point - Latitude COMMA Longitude
t_product_typeProduct type
0 - Not selected
1 - Accommodation (hotel/campsite/villa/ski chalet/lodge)
2 - Transport
3 - Tour/cruise including overnight stay
4 - Day tour/trip/activity/attraction (No overnight stay)
5 - Tailor made
6 - Event
7 - Training/education
8 - Other
t_tourleader_typeTour leader type
0 - Not selected
1 - Tour guide / driver
2 - Independent / self drive
3 - Not applicable (e.g. accommodation / event)
t_gradeGrade
0 - Not selected
1 - All ages / Not applicable
2 - Moderate
3 - Fit
4 - Challenging
5 - Extreme
t_accomratingAccommodation comfort rating
0 - Not selected
1 - No accommodation / Not applicable
2 - Luxury
3 - Moderate
4 - Comfortable
5 - Basic
6 - Various levels (Use this for a multi-night tour that has different levels on different nights)
t_locationLocation
t_summarySummary
t_shortdesc_disShort description
t_longdesc_disLong description
t_itineraryItinerary
t_expExperience (e.g. a wonderful hill walk with great vistas)
t_duration_descText describing the duration of the tour (e.g. 1 week)
t_availableAvailable (e.g. Mon & Fri, March - September)
t_pickHotel pickup instructions
t_redeemVoucher redemption instructions
t_incIncluded
t_exExcluded
t_extrasExtras / Upgrades
t_essentialEssential information
t_restRestrictions
 
IMAGES
t_im1_url
t_im2_url
t_im3_url
t_im4_url
t_im5_url
t_im6_url
Image URL
Set https_content="1" to return secure version
Set size="default" to return the default image size (or thumbnail, large, xlarge, original)
t_im1_desc
t_im2_desc
t_im3_desc
t_im4_desc
t_im5_desc
t_im6_desc
Image description
 
CUSTOM OUTPUTS
t_extra_*******Extra tour content fields can be setup. See the users manual for information
 
SHARED OUTPUTS
d_min_capMinimum capacity for a departure on this tour (per departure)
d_max_capMaximum capacity for a departure on this tour (per departure)
f_min_capMinimum capacity for a freesale booking on this tour (per booking)
f_max_capMaximum capacity for a freesale booking on this tour (per booking)
f_book_urlURL of online booking engine for freesale booking
f_book_url, partner, miscURL of online booking engine for freesale booking
If partner ID and misc. ID are set, a redirect URL is returned that includes the marketing tracking
f_duration_daysFreesale duration (days)



TourCMSdeparture

SummaryContent about individual tour departures
Example<$TourCMSdeparture d_id="32" output="d_code"$>
Requiresd_id, output
Notes 
Outputs
d_idInternal departure ID
t_idInternal tour ID
d_codeDeparture code
d_start_dateStart date (YYYY-MM-DD)
See date formatting
d_end_dateEnd date (YYYY-MM-DD)
See date formatting
d_start_date_displayStart date, display
See date formatting
d_end_date_displayEnd date, display
See date formatting
d_main_priceDeparture price
See price formatting
d_main_price_displayDeparture price, with currency
See price formatting
d_offer_priceSpecial offer price
See price formatting
d_offer_price_displaySpecial offer price, with currency
See price formatting
d_noteProduct note
d_offer_noteSpecial offer note
d_main_offer_datetimeDate / time that special offer was created
See date formatting
d_min_capMinimum capacity for a departure on this tour (per departure)
d_max_capMaximum capacity for a departure on this tour (per departure)
d_status1 for Open, 2 for Ask first, 3 for Closed
d_status_displayDeparture status text
d_bookable1 for yes, 0 for no
d_provNumber of provisional bookings (people) (when page built)
d_confNumber of confirmed bookings (people) (when page built)
d_quotNumber of quotation bookings (people) (when page built)
d_blockNumber of blocked spaces (when page built)
d_spacesNumber of spaces remaining (when page built)
d_book_urlURL of online booking engine for departure booking. people can be set if you wish to default to a set number
d_book_url, partner, miscURL of online booking engine for departure booking
If partner ID and misc. ID are set, a redirect URL is returned that includes the marketing tracking
 
SHARED OUTPUTS
All TourCMStour outputs can be used within TourCMSdeparture

Example: <$TourCMSdeparture d_id="3" output="t_name"$>



TourCMSfreesale

SummaryContent about individual tour freesale seasons
Example<$TourCMSfreesale f_id="1" output="f_code"$>
Requiresf_id, output
Notes 
Outputs
f_idInternal season ID
t_idInternal tour ID
f_codeSeason code
f_min_capMinimum capacity for a freesale booking on this tour (per booking)
f_max_capMaximum capacity for a freesale booking on this tour (per booking)
f_book_urlURL of online booking engine for freesale booking. people can be set if you wish to default to a set number
f_book_url, partner, miscURL of online booking engine for freesale booking
If partner ID and misc. ID are set, a redirect URL is returned that includes the marketing tracking
f_duration_daysFreesale duration (days)
f_start_dateSeason start date (YYYY-MM-DD)
See date formatting
f_end_dateSeason end date (YYYY-MM-DD)
See date formatting
f_start_date_displaySeason start date, display
See date formatting
f_end_date_displaySeason end date, display
See date formatting
f_priceSeason price
See price formatting
f_price_displaySeason price, with currency
See price formatting
f_noteSeason note
 
SHARED OUTPUTS
All TourCMStour outputs can be used within TourCMSfreesale

Example: <$TourCMSfreesale f_id="3" output="t_name"$>



TourCMScollection

SummaryContent about each collection
Example<$TourCMScollection c_id="1" output="c_url"$>
Requiresc_id, output
Notes 
Outputs
c_idInternal collection ID
c_nameCollection name (web/public)
c_name_internalCollection name (internal)
c_top_textTop content
c_base_textBase content
c_num_toursNumber of web tours in the collection
c_urlURL of the collection page
c_url, partner, miscURL of the collection page
If partner ID and misc. ID are set, a redirect URL is returned that includes the marketing tracking



TourCMSoption

SummaryOption content
Example<$TourCMSoption o_id="1" output="o_code"$>
Requireso_id, output
Notes 
Outputs
o_idInternal option ID
o_codeOption code
o_nameOption name (web)
o_name_internalOption name (internal)
o_descDescription
o_longdescLong description
o_from_priceLowest price
See price formatting
o_max_priceHighest price
See price formatting
o_from_price_displayLowest price, with currency
See price formatting
o_max_price_displayHighest price, with currency
See price formatting
o_currencyOption currency
o_typeType (number)
o_type_textType (text title)
o_per_item_textText for per item (e.g. per boat, per person etc)
o_local_paymentLocal payment - 1 for yes, 0 for no
o_must_includeMust include with a tour - 0 for not included, 1 for included, 2 for included (no removal)



Other Element Tags


TourCMSinclude

SummaryCode snippets
Example<$TourCMSinclude name="leftmenu"$>
<$TourCMSinclude id="5"$>
Requiresname or id
NotesThe name or id can be found from the templates editor. If the name is likely to change over time, use the snippet ID instead



TourCMScontent

SummaryContent from text content editor
Example<$TourCMScontent name="terms"$>
<$TourCMScontent id="5"$>
<$TourCMScontent id="5" output="title"$>
Requiresname or id
NotesThe name or id can be found from the text content editor. If the name is likely to change over time, use the content ID instead
Outputs
If left blank or not setContent
titleTitle (Name)
internal_noteInternal note



TourCMSwebsite

SummaryContent about the website itself
Example<$TourCMSwebsite output="name"$>
Requiresoutput
Notes 
Outputs
nameWebsite name
emailEmail address (for sales enquiries)
telephoneTelephone number (for sales enquiries)
site_langWebsite language
short_descShort description about the website
long_descLong description about the website
sale_currencySale currency (e.g. GBP)
mainurlURL of the main website home
mainurl, partner, miscURL of the main website home
If partner ID and misc. ID are set, a redirect URL is returned that includes the marketing tracking



TourCMSsystem

SummarySystem information
Example<$TourCMSsystem output="generator"$>
Requiresoutput
Notes 
Outputs
generatorTourCMS version
rebuild_datetimeGMT date / time when page built
See date formatting
styleurlURL for the CSS stylesheet (http)
styleurl_sURL for the CSS stylesheet (https)

Next: 3.3 Element tags, date formats