Button for BUEditor and CKEditor which allows upload files in one click.
Features
- Upload images and insert into editor image code
- Upload files and insert into editor link code
- Multi-upload files and images
- Integration with image styles
- Editable html templates
Video screencast (in WebM format) with work of module.
Описание модуля на русском языке.
Similar modules
Install One Click Upload
- Extract module archive in
sites/all/modules
- Enable module One Click Upload
- Download SWFUpload v2.2.0.1 Core, extract archive in
sites/all/libraries
and rename dirSWFUpload v2.2.0.1 Core
toswfupload
. After this fileswfupload.js
must be available on pathsites/all/libraries/swfupload/swfupload.js
.Drush users can use the command
drush ocupload-dl-library
.
Integrate to BUEditor
- Open BUEditor config page
admin/config/content/bueditor
. - Click Edit link for your use editor.
- Add new button with code:
js: E.showFileSelectionDialog();
(do not change this code!) (screenshot). - Click Save configuration.
Integrate to standalone CKEditor 7.x-1.4+ (not Wysiwyg module)
- Open CKEditor config page
admin/config/content/ckeditor
. - Click edit link for your use editor.
- Open section Editor appearance, go to Toolbar field and drag&drop One Click Upload icon from All buttons to Used buttons (screenshot before, screenshot after).
- Below, in Plugins field, choose checkbox One Click Upload (screenshot).
- Click Save.
- Clear your browser cache.
Integrate to Wysiwyg+CKEditor
- Open Wysiwyg config page
admin/config/content/wysiwyg
. - Click Edit link for your use editor.
- Open fieldset Buttons and plugins and mark checkbox One Click Upload.
- Click Save.
If not work
- Check in browser next files:
http://yoursite.com/sites/all/libraries/swfupload/swfupload.js
http://yoursite.com/sites/all/libraries/swfupload/Flash/swfupload.swf
http://yoursite.com/sites/all/libraries/swfupload/plugins/swfupload.swfobject.js
http://yoursite.com/sites/all/libraries/swfupload/plugins/swfupload.queue.jsthey should be available. If not — reinstall SWFUpload
- Check permissions on
sites/default/files
and path specified in ocupload template settings. Should be allowed to write. - Check SWFUpload demo — should be work. If not — ask for help in SWFUpload forum.