[Locked] Can't add an iframe to custom module gazette template - Forum | JoomShaper
Staff replied Templates Locked

Can't add an iframe to custom module gazette template

Asked by cee lippens 9 months ago Last activity 9 months ago

HI,
i am tryiing to create two seperate custom models for iframes, one is a podcast and one is an online crossword.. nothing is working..
can you advice on steps to add in the iframes.
thanks
Gazette template
J5!

3 replies

Paul Frankowski Senior Staff

Hi,

iframe can be blocked by Joomla as well. Check forum.joomla.org for details.

Extra tip! Find and install Custom code module that allows you to use any custom code inside, then put your code inside and test again. If you have RSFirewall by default it also damage i-frame.

cee lippens Asked this

Hi, Paul,
i have done everything you said and still can't get an iframe to work in a custum module.. am i missisng something in the insertion.. code?
have removed iframe Prohibited Elements in tiny mce, Filter Type to No Filtering, "Prepare Content" is enabled.

This is the iframe that worked in J3! custom module
Podcast:
<p><strong id="docs-internal-guid-bfa5f8ef-7fff-a096-78ec-5822dbf1d422">&lt;p&gt;&lt;iframe title="Used Car News" src="/https://omny.fm/shows/used-car-news/playlists/usedcarnewspodcast/embed?style=cover&amp;amp;image=1&amp;amp;share=1&amp;amp;download=1&amp;amp;description=1&amp;amp;follow=1&amp;amp;playlistimages=1&amp;amp;playlistshare=1&amp;amp;foreground=000000&amp;amp;background=ffffff&amp;amp;highlight=cc76db" width="100%" height="500" frameborder="0"&gt;&lt;/iframe&gt;&lt;/p&gt;</strong></p>

Crossword:
<p><iframe style="height: 580px; width: 93%; border: none; overflow: hidden;" src="/https://trivtweet.com/NewHTML5/indexA.html?file=ucars537.xml&amp;client=all&amp;color=Maroon&amp;title=Used%20Car%20News%20Crossword" width="300" height="150"></iframe></p>

thank you so much for your help

Paul Frankowski Senior Staff
9 months ago · edited

Joomla 5/6 is more restricted than Joomla 3 was, as I said use extra installed Custom Code module, not built-in Custom module.

For example

hd-anycode.zip

This question is locked, so it takes no new replies. Have a similar problem? Ask a new question.