It seems like you're trying to embed an iframe, specifically a Google Maps iframe, into a Joomla article in version 5.x, but encountering issues where the iframe code is not rendering properly and instead displays as code. Here's how you can troubleshoot and resolve this issue in Joomla 5.x:
1. **Configure Text Filters:**
Joomla applies text filters to content to prevent security vulnerabilities. To ensure your iframe code is not filtered out:
- **Super User Access**: Make sure you have Super User access to configure these settings.
- **Global Configuration**:
- Go to **System** -> **Global Configuration**.
- In the **Text Filters** tab, ensure that for the user group you're using (e.g., Super User), the **No Filtering** option is selected. This allows all HTML and iframe tags without any filtering.
2. **Plugin Settings**:
- Go to **Extensions** -> **Plugins**.
- Search for and edit the **Content - Load Modules** plugin (or similar).
- Make sure in the **Basic Options** tab, the **Enabled** option is set to **Yes**.
3. **Prohibited Elements**:
- While Joomla 5.x might not have an explicit "Prohibited Elements" section in plugins, ensure that there are no restrictions on iframes in any relevant content-related plugins. Check all content-related plugins and ensure they do not restrict iframes.
4. **Embedding the iframe**:
- Open the Joomla article where you want to embed the iframe.
- Switch to the **HTML view** or **Source code view** of the editor.
- Paste your iframe code directly into the editor. It should look like this:
```html
<iframe src="https://www.google.com/maps/embed?pb=!1 ... !1sen!2sca" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
```
5. **Save and Preview**:
- After pasting the iframe code, save the article.
- Preview the article on the front end of your Joomla site to see if the iframe displays correctly.
6. **Clear Cache**:
- Sometimes, Joomla's cache can interfere with updates. Clear the Joomla cache after making changes to ensure the latest settings are applied.
7. **Check for JavaScript Errors**:
- Inspect the browser console for any JavaScript errors that might prevent the iframe from loading.
By following these steps, you should be able to embed iframes, including Google Maps iframes, into Joomla 5.x articles without them being stripped or displayed as code. If issues persist, review Joomla's documentation or community forums for specific guidance related to Joomla 5.x iframe embedding and content filtering.
Regards
https://www.navicosoft.com
https://www.navicosoft.com.au
https://www.navicosoft.co.uk
1. **Configure Text Filters:**
Joomla applies text filters to content to prevent security vulnerabilities. To ensure your iframe code is not filtered out:
- **Super User Access**: Make sure you have Super User access to configure these settings.
- **Global Configuration**:
- Go to **System** -> **Global Configuration**.
- In the **Text Filters** tab, ensure that for the user group you're using (e.g., Super User), the **No Filtering** option is selected. This allows all HTML and iframe tags without any filtering.
2. **Plugin Settings**:
- Go to **Extensions** -> **Plugins**.
- Search for and edit the **Content - Load Modules** plugin (or similar).
- Make sure in the **Basic Options** tab, the **Enabled** option is set to **Yes**.
3. **Prohibited Elements**:
- While Joomla 5.x might not have an explicit "Prohibited Elements" section in plugins, ensure that there are no restrictions on iframes in any relevant content-related plugins. Check all content-related plugins and ensure they do not restrict iframes.
4. **Embedding the iframe**:
- Open the Joomla article where you want to embed the iframe.
- Switch to the **HTML view** or **Source code view** of the editor.
- Paste your iframe code directly into the editor. It should look like this:
```html
<iframe src="https://www.google.com/maps/embed?pb=!1 ... !1sen!2sca" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
```
5. **Save and Preview**:
- After pasting the iframe code, save the article.
- Preview the article on the front end of your Joomla site to see if the iframe displays correctly.
6. **Clear Cache**:
- Sometimes, Joomla's cache can interfere with updates. Clear the Joomla cache after making changes to ensure the latest settings are applied.
7. **Check for JavaScript Errors**:
- Inspect the browser console for any JavaScript errors that might prevent the iframe from loading.
By following these steps, you should be able to embed iframes, including Google Maps iframes, into Joomla 5.x articles without them being stripped or displayed as code. If issues persist, review Joomla's documentation or community forums for specific guidance related to Joomla 5.x iframe embedding and content filtering.
Regards
https://www.navicosoft.com
https://www.navicosoft.com.au
https://www.navicosoft.co.uk
Statistics: Posted by Navicosoft_Tech — Sat Jul 20, 2024 12:33 pm