EnglishEspañol
Insert HTML editor button plugin for Joomla!



Insert HTML editor button plugin for Joomla!
Version: 1.3. Last updated: 2009-01-29


CORE
(REQUIRED)

EDITOR BUTTON

 

You can find the CORE pluging on the Joomla! Extensions site here.
You can find the BUTTON pluging on the Joomla! Extensions site here.

Insert HTML editor button allows users to paste arbitrary HTML code into current selection without having to switch to HTML mode. This is especially useful when you get a piece of code like Paypal buttons or Google Adsense to insert into your page.

Required Joomla version: 1.5
Included languages: English, Spanish
Tested WYSWYG editors: TinyMCE
Developed by: Francisco R. Rey Barcelo
License: GNU General Public License

Instructions for use:

  • Download both plugins, CORE and EDITOR BUTTON
  • Go to Joomla Administrator and install both plugins from "Extensions" -> "Install"
  • Go to "Extensions" -> "Plugin Manager" and enable both plugins
  • IMPORTANT! Joomla 1.5.8 or later: Disable Joomla HTML filter (read below)
  • Insert any HTML code using the new editor button

Description:

Some editors (i.e. TinyMCE) will strip HTML tags and entities when you enter them in the WYSIWYG view. For that reason the BUTTON pluging translates some HTML entities inserted in editor view. The chars translated are:

single quote > {apos}
double quote > {quot}
amphersand > {amp}

The BUTTON plugin will help you to insert HTML code. he code inserted will be surrounded with {HTML }...{/HTML } tags and entities translated.

The CORE plugin render any HTML code surrounded with {HTML }...{/HTML } tags in frontend.

Security considerations:

only managers, administrators and superadministrators can insert code with this extension.

Change log:

v1.3: Solve minor problems with WYSIWYG editors.
v1.2: Bug fix (2009-01-28), fixes escape single quote character on display content
v1.1: Restructure plugin (2009-01-27)
v1.0: Initial release (2009-01-16)

Last Updated on Friday, 06 February 2009 00:05
 
Joomla 1.5.8 and later: Disable Joomla Code clean up
Tuesday, 06 January 2009 00:02

In Joomla! 1.5.8, a default filtering choice is in place for those who have not selected an Article Filter option. The default applied for those who have not made a selection implements "black list" filtering as a security precaution against possible XSS.

Due to this change, you might notice problems trying to save a Youtube video, or embedding other Javascript or Flash objects into your Articles.

If the default filtering option is not suitable for your needs, you can change it by using the Article Global Configuration options. For example, to change the default settings so that no filtering happens for members of the Super Administrator group:

1. Navigate to Content -> Article Manager.
2. Press the Parameters icon in the toolbar to show the Articles - Global Configuration screen.
3. Scroll down to Filtering Options, highlight all Filter groups except Super Administrator, Administrator and Manager, and select Filter type of Blacklist (Default), as shown in the screenshot below.

With this setting, Joomla! will use the default Blacklist filter for all users except for the Super Administrator, Administrator and Manager groups. If you want to let other groups of Users submit content with no filtering, just modify the instructions above to exclude these groups. If you want no filtering on any groups, follow the instructions above but select only the Registered group.

Last Updated on Wednesday, 28 January 2009 03:52