Learn how to generate shortcode from within the Drupal Dashboard.
Are you new to Drupal? Please read the first article in this series for an introduction to our Drupal integration.
Which plans include this feature?
Where can I find this feature using the top menu?
Manage > Integrations > Website Integration > Drupal
What more do I need to use this feature?
- Admin permissions to manage integrations.
- A hosted website with free Drupal software.
- Ability to copy and paste into your website code or have some helpful person do this for you!
Which Checkfront version supports this feature - classic, new or both?
- This feature is available in both our classic version using items (Inventory > Items) and our newest version using products (Inventory > Products). → Learn more about products
About the shortcode processBack to top
The next step is to generate the shortcode added to your Drupal web page. If you have any experience with the Checkfront Booking Widget, then you recognize that the process involved now is more or less the same.
In this case, once you generate the code, you are presented with one basic line of code. The more complicated code is handled by the plugin you just installed.
You can then simply add the shortcode
[checkfront] to your web page. When published, this shows the booking portal as configured in your Checkfront backend.
Those familiar with coding can also manipulate the default shortcode to create a more refined look for the portal by adding certain codes or arguments to the default code.
We go into this in more detail with the following articles.
Accessing the shortcode generatorBack to top
Just below the Setup box, where you entered the Checkfront Host URL, is another box labelled Getting Started. Click on the Shortcode Generator button.
Alternatively, you can access the same Shortcode Generator through your Checkfront backend.
Go to the Website Integration area (Manage > Integrations > Website Integration) to do this. Hover your mouse over the Drupal tile and click to select it.
This brings you directly to the Drupal Shortcode Generator.
Notice, at the bottom of the wizard, just above the Generate Code button, there’s a link to Show more options. These are slightly more advanced options, and we look at those next.
In the next article, we look at the basic set of available configurable options.