ibrows/IbrowsSimpleCMSBundle — Issue #14: TinyMCE Insert/Edit Image
Author: Thibdou
Created: 2012-03-02 11:19:19+00:00
State: open

Morning,

Thanks for your bundle, it's very simple to install and to use !

I just get a small issue with TinyMCE Insert/Edit image fonctionality. I put the information about the target folder inisde the config.yml of the app. When I'm trying to browe the image folder, the TinyMCE return an error :

"gc(); require_once(CLASS_SESSION_ACTION); $sessionAction = new SessionAction(); if(CONFIG_LOAD_DOC_LATTER) { $fileList = array(); $folderInfo = array('path'=>getCurrentFolderPath()); }else { require_once(CLASS_MANAGER); $manager = new manager(); $manager->setSessionAction($sessionAction); $fileList = $manager->getFileList(); $folderInfo = $manager->getFolderInfo(); } if(CONFIG_SYS_THUMBNAIL_VIEW_ENABLE) { $views = array( 'detail'=>LBL_BTN_VIEW_DETAILS, 'thumbnail'=>LBL_BTN_VIEW_THUMBNAIL, ); }else { $views = array( 'detail'=>LBL_BTN_VIEW_DETAILS, ); } if(!empty($_GET['view'])) { switch($_GET['view']) { case 'detail': case 'thumbnail': $view = $_GET['view']; break; default: $view = CONFIG_DEFAULT_VIEW; } }else { $view = CONFIG_DEFAULT_VIEW; } ?> "
As it doesn't read the code and only print it.
The error come from the file : SimpleCMSBundle/Ressources/views/File/ajaxfilemanager.html.php, but I don't understand why.

I hope you'll understand me...

Thanks for your help,
Thibault