You can show your whole booking page inside a page on your Joomla website, so customers can book without leaving your site. This uses Bookingly's Embedded option and a Joomla article that contains the code.
Joomla's editor often removes scripts, so a few extra steps are needed. These instructions are for Joomla 4 and 5. If you would rather not embed, you can add a menu item or button that goes to your booking page. Copy your link from the Direct link tab, as described in Add Online Booking to Your Website.
Before you start
- Make sure online bookings are turned on and your services, staff hours and location hours are correct. See Setting Up Your Booking Page.
- Sign in to Joomla's administrator area as a Super User. Other user groups usually have their scripts removed when saving.
- Have the Joomla administrator open in another browser tab.
Step 1: Copy your embed code from Bookingly
- In Bookingly, open More > Setup > Online bookings and scroll to Share.
- Select the Embedded tab.
- Select Copy code.
The code is specific to your business, so always copy it from your own account.
Step 2: Add the code to an article
- In the Joomla administrator, go to Content > Articles and select New, or open the article for the page where you want customers to book.
- Enter a title such as Book Now.
- In the editor toolbar, select Toggle Editor so you see the plain code view instead of the formatted view.
- Paste the code you copied from Bookingly where the booking page should appear.
- Select Save & Close.
Do not select Toggle Editor again before saving, because the formatted view can remove the script.
Step 3: Show the article on your site
- Go to Menus and open your main menu.
- Select New and set the Menu Item Type to Articles > Single Article.
- Choose your Book Now article, enter a title, and select Save & Close.
Step 4: Check it works
- Open your website and select the Book Now menu item.
- Your booking page should appear where you placed the code.
- Try selecting a service to check it loads and scrolls properly.
If you only see a blank area, open the article again with the editor toggled off and check the code is still there, in full, starting with <script and ending with </script>.
If the code disappears when you save
Joomla removes scripts in two places, and either can cause this:
- The editor. Go to System > Global Configuration and set Default Editor to Editor - None, or set it only for your own login under Users > Manage > your user > Basic Settings > Editor. Then paste the code again.
- The text filter. Go to System > Global Configuration > Text Filters. Make sure your user group, usually Super Users, is set to No Filtering.
Joomla's TinyMCE editor can also be set to block certain elements. If scripts still disappear, check its plugin settings under System > Plugins > Editor – TinyMCE.
Make it fit your page
The page height is controlled by the data-bookingly-resize setting in the code you pasted:
falsegives the booking page a fixed height with its own scrollbar.truemakes the booking page grow to fit its content and scroll with your Joomla page, with no inner scrollbars. This usually looks best on a dedicated booking page.
To change it, open the article with the editor toggled off, replace data-bookingly-resize="false" with data-bookingly-resize="true" (or the other way round), then save.
Tips for a clean result:
- Give the booking page an article of its own, with nothing beside it.
- Choose a full-width page layout or template position if your template offers one.
Alternative: a Book Now button with a popup
If you would rather keep your page short, show a Book Now button that opens your booking page in a popup. Customers stay on your page while they book.
- In Bookingly, open More > Setup > Online bookings, scroll to Share, select the Popup tab and select Copy code.
- In Joomla, open the article (as in Step 2 above) with the editor toggled off.
- Paste this button where it should appear, then paste the code you copied from Bookingly directly underneath it:
<button class="bookingly-button">Book Now</button>- Select Save & Close and check the live page.
Keep the button and the code in the same article, and use either the embedded code or the popup code on a page, not both.
Changing how the button looks. To change the wording, edit the text between > and </button>. To make it match your site, you can use a link instead, such as <a href="#" class="bookingly-button">Book Now</a>, and style it with your site's own styles. Any button or link with the class bookingly-button opens the popup, and you can add the class to as many buttons or links on the same page as you like.
Troubleshooting
Problem | What to try |
|---|---|
The code disappears after saving | Use Toggle Editor before pasting, sign in as a Super User, and check the editor and text filter settings above. |
The code shows as text on the page | The editor has turned it into text. Switch the editor off and paste the code again. |
Nothing appears on the live page | Clear Joomla's cache under System > Clear Cache, and any caching plugin or host cache. |
The booking page has two scrollbars | Change |
It shows the wrong business or a "page not found" message | Check the address in the code ( |
Good to know
- The booking page inside Joomla looks the same as your own booking page, including your colours, logo and layout.
- Any change you make to your services or booking page settings shows up on your website straight away. There is nothing to update in Joomla.
- Customers who book this way appear in your calendar like any other online booking.
- For a Book Now button that opens a popup instead, see the alternative above, or the Popup option in Add Online Booking to Your Website.