I'm trying to put an iFrame (from Google Maps) in an article but it the code just appears as text. I've had a look at the HTML source and its not in any
tags or anything. Any help please?
Joomla Stack Exchange is a question and answer site for Joomla! administrators, users, developers and designers. It only takes a minute to sign up.
Sign up to join this communityGo to:
Extensions >> Plugin Manager >> TinyMCE >> Prohibited Elements
The remove iframe
from the list.
My preferred way of doing this is to create a module for your code (using for example Custom HTML Advanced or the built-in Iframe Wrapper module. Publish the module to a custom position (like GoogleMap
). Then load the module into any article using this code:
{loadposition GoogleMap}
Joomla will take care of the rest, and insert the code into your article.
Alternatively you can change your default editor to "none". This will give you a raw HTML format for every text you type, so tags will stay where you want them.
Users -> *your user name* -> Basic settings -> Editor
But if you are not that experienced with pure HTML, stay with the solution from Lodder.