Inserting HTML code into Joomla 1.6



  • Inserting custom HTML in Joomla 1.6, 1.7, … and creating custom HTML modules, without having tags stripped out by the editor.

    When creating a custom HTML module in Joomla 1.6 (and newer Joomla versions), most of the HTML tags are stripped out, especially when you try to insert pieces of javascript (ex. Google Analytics code).

    The most common issue, when trying to insert Google AdSense or Google Analytics -code into a custom Joomla module. After saving, most of the code is stripped out.
    There are workarounds and custom modules ( http://extensions.joomla.org/ ), you can also edit the module content via phpMyAdmin, however, this is a painful process if you ever need to modify your custom HTML module.

    To stop HTML editors (even NO editor) from striping your embedded , follow these instructions:

    In Joomla admin, go to Article Manager

    Article Manager >>Options >> Text Filters -> Super Users (assuming that you are editing as Super User) and select "No Filtering"



  • *after saving the "Options", you are able to insert your HTML code, including javascript. This also applies to the RVC, SVC embed code below:

    
     <object id="JabberCam" width="670" height="488"><param name="movie" value="http://www.jabbercam.com/JabberCam.swf" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
    <param name="quality" value="high">
    <param name="bgcolor" value="#3B5997">
    <param name="scale" value="noscale">
    <param name="allowFullScreen" value="true">
    <param name="allowscriptaccess" value="always">
    <param name="base" value="http://www.jabbercam.com/">
    <param name="wmode" value="transparent">
    <embed name="JabberCam" src="http://www.jabbercam.com/JabberCam.swf" loop="false" quality="high" play="true" bgcolor="#3B5997" width="670" height="488" align="middle" scale="noscale" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" base="http://www.jabbercam.com/" allowscriptaccess="always" allowfullscreen="true"></object> 
    
    

 

Looks like your connection to H7 was lost, please wait while we try to reconnect.