DERTOUR GroupDesign
Documentation
Guide contents
Content type / Search

Search bar (config)

Search_Bar_Config_001
technical

What this is used for

The Where to / When / Where from / Who's going search bar. Contentful holds the labels, CTA copy, the selectable PIM tags, which steps are compulsory, the departure-airport list and its per-destination blacklist, and how far ahead the calendar opens. Reused on the homepage and results page. Availability and prices are live at render; the searchable destination catalogue comes from the PIM travel areas.

How you use it

Settings for the search and 'help me choose' tools — the labels and options a visitor sees, not the search results themselves.

13

Fields you can fill in

1

Fields kept in step automatically

1

Used by

content types

Fields you can fill in

FieldWhat goes in itNotes

Internal name

internalName
required
Short text

'Where to?' label

whereToLabel
Short text

'When?' label

whenLabel
Short text

Earliest departure (days from today)

leadTimeDays
Whole number

How many days after today the calendar starts accepting departure dates. 0 means a shopper can search for a holiday leaving today (today's behaviour). 3 means the first three days are greyed out. This is the SEARCH window only — it does not decide what can be booked. Maximum 365.

'Where from?' label

whereFromLabel
Short text

Departure airports

departureAirports
A list of short texts

One row per airport: CODE|Display name|Group heading — e.g. "LHR|London Heathrow|London". Add "|group" as a fourth part for the row that stands for the whole group ("LON|Any London airport|London|group"); its airports are then shown indented beneath it. ORDER HERE DOES NOT MATTER — the site always shows London first, then the other groups alphabetically, and the airports inside each group alphabetically. Leave the list EMPTY and the site keeps its built-in ten-airport list and records that it is doing so in the fallback register.

Airport / destination blacklist

departureAirportBlacklist
A list of short texts

BRD9_04. One rule per row: AIRPORT|DESTINATION. The airport is not offered once the shopper has chosen that destination — "MAN|MLE" hides Manchester when the Maldives is selected. Use * as the destination ("BFS|*") to hide an airport everywhere. The destination is the code the where-to picker uses, which is the travel area's IATA airport code. An empty list means nothing is blacklisted, which is how the site behaves today.

'Who's going?' label

whoLabel
Short text

Search button label

ctaLabel
Short text

Selectable tags (from PIM)

tags
A list of short texts

Compulsory steps

compulsorySteps
A list of short texts
Choose one of:
whereTo
when
whereFrom
who

Special occasions (linked to TBX offers)

specialOccasions
A list of short texts

Offer a rooms selector

roomsEnabled
Yes / no

Global switch for the whole platform. Off means the "Who's going?" panel has no rooms stepper and every search is for a single room. Turn it on only when the reservation system can price a multi-room holiday. Leave it off if you are unsure — it is the setting the site ships with.

Fields kept in step automatically

These appear greyed out, or not at all. They are filled in from another system, so anything typed here would be overwritten.

FieldWhat goes in itNotes

Component key (sitemap catalogue ID)

componentKey
required
Short text

Where this gets used

These content types link to this one. Editing an entry of this type changes every one of them that points at it.