TourCMS “Extra tour content fields” (article)

Susana Moleón
Susana Moleón
  • Updated

What does it mean?

Even though TourCMS has a vast number of options and configurations which allow you to represent almost every detail of your products, there might be one little piece of special information you want to provide to our WordPress plugin.

For this we created the “Extra tour content fields”, which allow you to create new personalized data fields.

Where can I find it?

“Extra Tour Content Fields” can be set up at

Homepage→ Configuration→  System&Setup→ Extra Tour Content Fields

Values for these field can be set individually for every tour at

Homepage→ Tours→ Descriptions & Images→ Custom Fields

What should I do?

If an extra input is required for your API, you must first configure these “Extra Tour Content Fields”. Kindly note that while HTML is supported on websites, it may not be displayed in emails.

Homepage→ Configuration→  System&Setup→ Extra Tour Content Fields:

 

mceclip3.png

  • Type a display name for the extra field, 
  • Type a tag that defines the field in the database and the API (max. 8 characters only letters and numbers).
  • Choose the Type

mceclip2.png

  • Single Line (max 255 characters)
  • Multi Line (textfield)
  • HTML editor (no layout, but allows tokens)
  • HTML editor (full layout, tokens and full HTML code)

With the Display tickbox these fields can be shown or hidden.

The values are set at:

Homepage→ Tours→ Descriptions & Images→ Custom Fields

mceclip4.png

Here the required individual information can be entered.

The information entered in that field would be imported into a post meta field called tourcms_wp_custom_examplefield and available as a shortcode using [tourcms_custom tag="examplefield"].

Note: This Custom data is not currently displayed in the preview table on the Edit Tour/Hotel page in WordPress. This may be fixed in a future update to the plugin.

To integrate the “Extra Tour Content Fields” please contact our support at support@palisis.com

Here you can find our article about “How to use the API” where we explain the API development process and we detail the full API method list.

In addition to that, here you can find some API examples which will probably be very useful.