Joomla Integration Guide
Learn how to add your Cloudpresser AI chatbot to your Joomla website.
Integration Steps
Joomla is a popular content management system. Here's how to add your Cloudpresser AI chatbot:
Method 1: Using Custom HTML Module
The easiest way to add your chatbot to Joomla is by using a Custom HTML module:
- Get your chatbot code:
- Go to your Cloudpresser AI Chat dashboard
- Select the chatbot you want to integrate
- Click on the "View Code" or "Integration" button
- Copy the provided code snippet
- Add a Custom HTML module:
- Log in to your Joomla admin panel
- Go to Extensions → Modules
- Click "New" and select "Custom HTML"
- Give the module a title (e.g., "Cloudpresser AI Chat")
- Paste your chatbot code into the Custom Output field
- Set the position to one that appears on all pages (e.g., "debug" or another position that's loaded on all pages)
- Set "Show Title" to "Hide"
- Under the "Menu Assignment" tab, select "On all pages"
- Save the module
Method 2: Using Template Override
For more control, you can edit your template files directly:
- Access your template files:
- Go to Extensions → Templates → Templates
- Click on your active template
- Find and edit the "index.php" file
- Add your chatbot code just before the closing </head> tag
- Save the file
Important: If you edit template files directly, your changes might be lost when you update your template. Consider creating a template override or child template instead.
Method 3: Using a Plugin
For the most flexibility, you can use a plugin that allows you to add code to the <head> section:
- Install a header script plugin:
- Search for and install a plugin like "Add to Head" or "Header and Footer" from the Joomla Extension Directory
- Enable the plugin
- Configure the plugin and add your chatbot code to the header section
- Save the configuration
Joomla Version Differences
Joomla 3.x
The instructions above are primarily for Joomla 3.x. The module and template management interfaces are similar in most 3.x versions.
Joomla 4.x
In Joomla 4.x, the interface has been updated, but the concepts remain the same. Look for "Modules" under the "Content" menu, and "Templates" under the "System" menu.
Troubleshooting
Chatbot not appearing on the site
Ensure the module is published and assigned to all pages. Try clearing your Joomla cache (System → Clear Cache) and your browser cache.
Conflicts with other extensions
If you have other chat or support extensions installed, they might conflict with Cloudpresser AI Chat. Try temporarily disabling them to test.
Need Help?
If you're experiencing issues with the Joomla integration, please contact our support team at [email protected].