Full-functional visual (Wysiwyg) HTML editor for pages on Cotonti. Allows to edit page in Wysiwyg mode, and in direct HTML-code editing mode .
The plug-in version: 1.0.2 (2010-june-12)
Changes from the v1.0.1:
- Updated CKEditor: to CKEditor v 3.3.1 (revision 5586)
- Added plugin EmbedMedia to insert video from youtube, vimeo, , google video, etc.
- Added a plugin to insert code (php, html, etc.) with highlighting with standard for cotonti method. (thx to Dr2005Alex)
- Added button to insert a page tag "<!-- more -> " (thx to Dr2005Alex)
- Fixed a bug which made some hostings AjaxFileManager could cause a 404 error.
- Fixed bug due to which, if the page edited by not admin unnecessary data can be added to the database.
Changes from the first version:
CKEditor updated to version 3.2 SVN (revision 4981) There new feaches added and some errors are corrected.
Now it works and with jQuery (the documentation in English).
You can turn on the jQuery Adapter in control panel (by default it off).
You can read the full list of changes in a file ckeditor/ckeditor/CHANGES.html or on an official site.
If you use this plug-in, we recommend to you to be updated to the current version.
HTML pages - does not require additional parsing on the server side (like BB-codes) and does not require additional parsed code caching in a database.
You can insert whole pieces HTML of a code created in other editors to your pages.
Editing in Wysiwyg-mode is much easier, than operating with a BB-code.
This plugin based on CKEditor v.3. The detail can read on their official site.
The interface of the editor is similar to MS Word (OpenOffice).
Screenshoot:
The plug-in has the built in system for operation with file archive (PFS). It is based on standard Cotonti 0.6.8 PFS. But it allows to insert links from "My files" and "Site File archive" directly to editor window in HTML.
The plug-in can add Attribute «rel="thumbnail"» for beautiful image opening with plug-in: Thumbnailviewer (Should be installed on your site)
Also the plug-in adds attribute "title" to the <a> tag and attribute "alt" to the <img> tag. Value of attributes takes from the file description in PFS.
This plug-in includes Ajax FileManager, allowing to insert on edited page the link to a file (image, flash), from the folder on the server.
Also with Ajax FileManager you can upload files to the server to the specified folder.
Screenshoot:
Installation:
- To uzip archive
- Copy "ckeditor" folder in the "plugins" on the server.
- Install and customise it in the administration panel
Update:
- Delete files from the folder "plugins / ckeditor on the server.
- Copy the contents of the archive in this folder.
- Reinstall the plug-in control panel.
- Run the query to the database: "UPDATE` sed_pages `SET` page_html `=''WHERE` page_type `= 1"
The smilies installed in system "will be picked up by a plug-in.
After adding of new page and pressing the "Publish" button in the bottom of page, it saves automatically with "HTML" parsing
Additional possibilities:
You can use this editor and/or file manager in other places on a site, in othes plug-ins.
forum topic: Here...
P.S. sorry for my english
function setFile(elementId)
{
var win = window.open('admin/tinymce/jscripts/tiny_mce/plugins/ajaxfilemanager/ajaxfilemanager.php?editor=form&elementId='+elementId, 'ajaxFileImageManager', 'width=782,height=500');
return false;
}
<input type="text" class="input" name="photo[2]" value="" id="photo2" /> <button onclick="return setFile('photo2');">Browse</button>
Thanked: 58 раз
Жаль тока с документацией плоховато! Надо бы кнопочек прикрутить!
Thanked: 265 раз
-----------------
CKEditor Documentation is available on official site on address http://docs.fckeditor.net . But it all in English.
единственное, что я сделал для себя - разделил папки юзеров в ajaxfilemanager'e.
теперь у каждого своя.
I can't seem to get it to work? When I uploaded to CKEditor directory in the .zip it appeared on my admin panel as "No setup file found" whats wrong with it?
Thanked: 48 раз
Где к нему взять дополнительные плагинчики ? Например, поддержку окраски простого текста цветами.
Thanked: 48 раз
Кто-нибудь разбирался с плагином Dialog ? Не получается что-то прикрутить диалоги (