Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/main/inc/lib/fckeditor/editor/plugins/ImageManager
Juan Carlos Raña 25778e527e [svn r19084] fix visibility in document tool when create new folders 17 years ago
..
Classes [svn r19084] fix visibility in document tool when create new folders 17 years ago
assets [svn r18054] FS#2867 - FCKEditor: Fixing the Image manager to return correct URLs. 17 years ago
img [svn r17430] FS#2867 - FCKEditor, Image Manager: Minor visual fixes. 17 years ago
lang [svn r18347] FS#2867: FCKEditor, Image Manager: Fixing some bugs. 17 years ago
ChangeLog [svn r15985] FCKeditor languages and plugins added see FS#2528 18 years ago
README.txt
config.inc.php [svn r18624] Now it is not necessary to activate Portal Administration > Dokeos configuration settings > Tools > Use a title for the document name to show user names. Also show images 17 years ago
editor.php [svn r18340] FS#2867: FCKEditor, Image manager: Various fixes, new sizes (800x500), opening language files, forcing the translation system to work. 17 years ago
editorFrame.php [svn r15985] FCKeditor languages and plugins added see FS#2528 18 years ago
fckplugin.js [svn r18340] FS#2867: FCKEditor, Image manager: Various fixes, new sizes (800x500), opening language files, forcing the translation system to work. 17 years ago
icon.gif [svn r17255] FS#2867 - FCKEditor: Cosmetics, fixing some toolbar icons. 17 years ago
icon_or.gif [svn r15985] FCKeditor languages and plugins added see FS#2528 18 years ago
images.php [svn r18553] 1. We register to the DB the documents/folders that are uploaded with the fckeditor. 2. Student can see all the items of the share_folder. (see FS#2867) 17 years ago
index.html [svn r17147] FS#2867 - Empty index.html files everywhere within the directory structure of FCKEditor. 17 years ago
manager.php [svn r18553] 1. We register to the DB the documents/folders that are uploaded with the fckeditor. 2. Student can see all the items of the share_folder. (see FS#2867) 17 years ago
newFolder.html [svn r18350] FS#2867: FCKEditor, Image Manager: Resizing the "New folder" dialog to fit in Firefox. 17 years ago
thumbs.php [svn r15985] FCKeditor languages and plugins added see FS#2528 18 years ago

README.txt

Below are the steps required to setup the Wei Zhuo's Image Manager (http://www.zhuo.org/htmlarea/)

as a plugin for FCKeditor.

-----------------------------
SETTING UP THE IMAGE MANAGER:
-----------------------------

- Firstly extract the archive to the editor/plugins directory
- Edit the file 'editor/plugins/ImageManager/config.inc.php' to configure the plugin.

---------------------------
INSTALLING AS A FCK PLUGIN:
---------------------------

The required fckplugin.js file is already in the archive, so all you need to do is update fckconfig.js (in the root directory) and make the following updates:

- The language for the plugin and to directEdit option must be set in its 'editor/plugins/ImageManager/fckplugin.js' file.
- Add the plugin to your FCKeditor by opening you 'fckconfig.js' file and update the 'FCKConfig.ToolbarSets' you're using by replacing 'Image' with 'ImageManager';
Register the plugin with the following statement: "FCKConfig.Plugins.Add('ImageManager');"
- Done. (Should the toolbar icon not appear, try to clear your browser's cache)


--------------------------------------------------------------
UPDATING THE CONTEXT MENU FOR IMAGES TO USE THE IMAGE MANAGER:
--------------------------------------------------------------

Copy an icon for the image manager for the popup context menu
cp /editor/skins/default/toolbar/image.gif /editor/skins/default/toolbar/imagemanager.gif

edit editor/_source/internals/fckcontextmenu.js
- search for 'FCKLang.ImageProperties'
- replace the string in the parameter before the above mentioned one from 'Image' to 'ImageManager'.
the line should now read: return new FCKContextMenuGroup( true, this, 'ImageManager', FCKLang.ImageProperties, true ) ;

This updates the _source context menu to use the image manager. However to avoid having to recompile the whole thing, also need to update the compiled versions too so also repeat the above on the following files:

- editor/js/fckeditorcode_gecko_2.js
- editor/js/fckeditorcode_ie_2.js


Enjoy!
Brent Kelly
Zeald.com
http://www.zeald.com

Paul Moers
http://www.saulmade.nl