This extension is Javascript WYSIWYG Editor + File Manager + Spell checker Based on ext tinymce upadate it add elfinder and add spell check
protected/extensionsSee the following code example:
$this->widget('application.extensions.tinymce.ETinyMce', array('editorTemplate'=>'full')); If you use like module In Modules/elfinder/controllers/DefaultController.php $opts=array( 'root'=><path to upload folder>, 'URL'=><url to uploads folder>, ); In Etinymce.php 806 $("#finder").elfinder({url : "<url to Modules/elfinder/controllers/DefaultController.php>", If you use like asset In assets/elfinder/connectors/connector.php $opts=array( 'root'=><path to upload folder>, ); In Etinymce.php 808 connector.php?url='<url to uploads>'"
Total 9 comments
I used this approach in some of my sites and the connector which is a php file become a tool for hackers to attack the sites.
I suggest that use only module approach.
I use assets.
I don't actually understand the install instructions. When i place the folder in /extension and modify the 'root'=>,
'URL'=>, i have an error js "TypeError: r is undefined". Please help.
at least one working ext with uploading!!!
See http://www.yiiframework.com/forum/index.php?/topic/11490-tinymce-elfinder/page__gopid__75518#entry75518
I created a fix to make the csrf validation work with this extension.
I use this in my FlexiCORE app. The elfinder lib i took directly from its author website as my app has a way to run 3rd party PHP lib in Yii context. I use elfinder as a standalone File manager and integrate with TinyMCE.
Minor issue you might encounter: - elFinder.class.php #1791 add @ before class_exists. Otherwise, cannot upload file. - note that the url to root folder needs trailing slash.
Some not good CSS issues make it hard to find the 'close' link when the elFinder is in popup mode.
Great job!!! Thanks.
It works well! Thanks!
Made in two versions 1. elfinder as a module Pluses: * May prescribe rules * Normally generated url Minus: * What to be separate from ext 2. And simply put in assets Minuses: * Can not prescribe rules * Not normally generated url Plus: * Be in a folder with Ext
It would be good if someone suggested how to make a folder c Ext and remove all the minuses ?
Leave a comment
Please login to leave your comment.