egerke 2009-09-27 10:16
1. is there any chance to reduce FCKeditor icons, options (like new page, save, index etc.). It's too much and I won't use them. 2. can I add FCK editor into QC 3.0? this http://opensolution.org/Quick.Cart/docs/?id=tips#how_to_upload_wysiwyg_editor_-_fckeditor didn't work, old toolbar was loaded in Thanks
» Quick.Cart v3.x egerke 2009-09-27 18:04
1. I found the solution, if somebody needs it: Find "FCKConfig.ToolbarSets" line at fckeditor/fckconfig.js and delete what u want. :) 2. FCKEdit works @ 3.4, but I can't install into 3.0. Only old toolbar loading in... :=( HELP!
2009-09-27 19:06
I believe plugins/edit/htmleditor.php needs to be changed. Please check if it contains entries with FCK.
egerke 2009-09-27 19:34
QC 3.4 htmleditor.php: if( defined( 'WYSIWYG' ) && WYSIWYG == true ){ if( !defined( 'WYSIWYG_START' ) ){ define( 'WYSIWYG_START', true ); return $oTpl->tbHtml( 'edit.tpl', 'TINY_HEAD' ).$oTpl->tbHtml( 'edit.tpl', 'TINY' ); } else{ return $oTpl->tbHtml( 'edit.tpl', 'TINY' ); } QC 3.0 htmleditor.php: if( defined( 'WYSIWYG' ) && WYSIWYG == true ){ return $oTpl->tbHtml( 'edit.tpl', 'TINY' ); This is the only difference between the versions of htmleditor.php As the tutorial (change WYSIWYG to FCKeditor) said you have to change: if( !defined( 'WYSIWYG_START' ) ){ define( 'WYSIWYG_START', true ); return $oTpl->tbHtml( 'edit.tpl', 'TINY_HEAD' ).$oTpl->tbHtml( 'edit.tpl', 'TINY' ); } else{ return $oTpl->tbHtml( 'edit.tpl', 'TINY' ); } to: (*!!!) $oFCKeditor = new FCKeditor($sName) ; $oFCKeditor->BasePath = 'fckeditor/'; $oFCKeditor->Value = $sContent; $oFCKeditor->Width = $iW; $oFCKeditor->Height = $iH; return $oFCKeditor->CreateHtml(); Plus insert "require_once 'fckeditor/fckeditor.php';" line into admin.php This works with 3.4. I tried to change 3.0's "return $oTpl->tbHtml( 'edit.tpl', 'TINY' ); " line to *!!!, but It wasn't work. Also I tried the working 3.4's htmleditor.php with QC 3.0 but didn't worked either. Old old toolbar was loaded in. :\
2009-09-28 23:29
I'd like to help you but it's very difficult like this. You may mail me to my email, here are the contacts: http://www.tigerware.sk/easyplugins/
2009-09-29 18:41
just for reference, dude had everything installed ok, but he had the WYSIWYG option in setting set to 'no'.