Joomla blacklists <object>, <embed> & <iframe> by default for security reasons and filters out and removes these tags from your articles if you try to add them in your content. The iframe and embed options are useful to integrate e.g. Google Maps and Youtube. There’s a solution to disable the filtering by de-selecting certain user groups in joomla as blacklisted for filtering. This didn’t work for me though.
Instead, here’s a method to get it to work by diving into the PHP file itself. To disable the filtering, edit the filter PHP file and remove the tags from the blacklist.
Path: libraries\joomla\filter\filterinput.php
$tagBlacklist = array ('applet', 'body', 'bgsound', 'base', 'basefont', 'embed', 'frame', 'frameset', 'head', 'html', 'id', 'iframe', 'ilayer', 'layer', 'link', 'meta', 'name', 'object', 'script', 'style', 'title', 'xml');
Related Posts
July 10, 2011
[How] Google Maps Short URLs
How to get Google Maps Short URLs (July 2011) after Google removed the option from the experimental Google Labs
February 11, 2012
[Fix] Joomla: Parameter 1 to modMainMenuHelper
How to fix Joomla - Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference
April 25, 2017
[FIX] Unity3D – Android Keyboard White Text on White Background
How to fix Unity3D Android Keyboard White Text on White Background
January 30, 2014
[FIX] Scaling Smart Objects With Nearest Neighbor in Photoshop
How to use Nearest Neighbor interpolation to free transform Smart Objects in Photoshop
1 Comment
Add comment Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.




[…] and enabling plugins, user permissions, etc. and tried them all without success, until I found this blog post which explains you need to actually edit the PHP file in […]