Generating the ShortcodeBack to top
Where to Place the ShortcodeBack to top
With the shortcode pasted to your clipboard, head back over to Drupal and locate/create the page/post in which you wish to embed the booking portal. Place the shortcode wherever you would like the portal to appear. This may be before, after or somewhere within your page content.
Make sure you select Full HTML from the Text Format field.
Shortcode With ArgumentsBack to top
Adding some of the arguments from the list lower down this page will control how the booking portal appears and the information it contains. Below is an example of what this shortcode might look like:
Extending the ShortcodeBack to top
Following is a list of arguments that can be added to the basic [checkfront] shortcode to change the look and behaviour of your booking portal.
InventoryBack to top
Show specific items: [checkfront item_id="3,8,37"] Show specific categories:[checkfront category_id="2,3"] Limit upcoming events to specific category: [checkfront filter_category_id="3"]
OptionsBack to top
Tabs as categories: [checkfront options=tabs] Hide search and calendar: [checkfront options=hidesearch] Together, they would look like this: [checkfront options=tabs,hidesearch]
Discount CodeBack to top
Include an automatic discount code: [checkfront discount_code="insert_code"]
StyleBack to top
Font colour: [checkfront style="color: #000000"] Font family: [checkfront style="font-family: arial"] Background colour: [checkfront style="background-color: #873333"] Together, they would look like this: [checkfront style="color: #000000; background-color: #873333; font-family: arial"]
DateBack to top
Fast forward to specific date: [checkfront date="20141224"] Add an end date: [checkfront end_date="20140131"
Tracking IDBack to top
Tracking ID: [checkfront tid="promo-page"] See campaign tracking for more information on using tracking ids.