Add online booking to your Joomla website
Put your booking page in a Joomla article and link it from your menu. Joomla likes to remove scripts, so this page covers how to stop that.
Start free All website buildersIncluded on every plan, even the free one. Free for 100 new bookings a month.
What you'll need
- A Bookingly account with online bookings switched on
- Joomla 4 or 5
- A Super User login, as other user groups usually have scripts removed on save
How to embed your booking page in Joomla
First, copy your code. In Bookingly, open More > Setup > Online bookings, scroll to Share, select the Embedded tab and select Copy code. It looks like this, with your own address:
<script src="https://app.bookingly.com/scripts/widget.js"
defer
data-bookingly-url="https://yourbusiness.bookingly.com"
data-bookingly-mode="embedded"
data-bookingly-resize="false">
</script>
- Go to Content > Articles and create an article called Book Now.
- Select Toggle Editor, paste your snippet and select Save & Close.
- Under Menus, add an item of type Articles > Single Article and choose your article.
- Open your site, select the new menu item and check the booking page loads.
Or add a Book Now button with a popup
Copy the code from the Popup tab instead, and paste it into Joomla with a button that has the class bookingly-button. Use either the embedded code or the popup code on a page, not both.
<button class="bookingly-button">Book Now</button>
<script src="https://app.bookingly.com/scripts/widget.js"
defer
data-bookingly-url="https://yourbusiness.bookingly.com"
data-bookingly-button-selector=".bookingly-button"
data-bookingly-mode="popup">
</script>
If the code disappears when you save
Joomla can strip scripts in the editor or in its text filters.
- Use Toggle Editor to switch to the code view before pasting, and don't toggle back before saving
- Or set the editor to Editor - None, globally or just for your own user
- Under Global Configuration > Text Filters, set your user group to No Filtering
- If scripts still go, check the TinyMCE plugin settings
Give booking its own menu item
Create an article used only for booking, then add a menu item of type Single Article that points to it. If your template offers a full-width layout, use it.
If something isn't right
- The code disappears after saving
- Toggle the editor off before pasting, sign in as a Super User and check the text filters.
- The code shows as text
- The editor converted it. Switch the editor off and paste it again.
- Nothing appears on the live page
- Clear Joomla's cache, plus any caching plugin or host cache.
Questions about Joomla booking
Do I need a Joomla booking extension?
No. The booking page comes from Bookingly through a snippet in an ordinary article.
Why does Joomla delete the script?
Its editor and text filters can remove scripts. Use the code view or Editor - None, and set your group to No Filtering.
Can I use a popup button in Joomla?
Yes. Add a button with the class bookingly-button and the popup code to the same article, with the editor toggled off.
Step-by-step guide
Try it on your own website
Bookingly is free for 100 new bookings a month, then one flat price for unlimited bookings. Joomla is a trademark of its owner, and this guide isn't endorsed by them.
Sign up for free