can someone please help me updating my script to work with ckeditor. (I'm attempting to update fckeditor to ckeditor)
fckeditor works with this:
$sbt = $view->setBodyTpl('customFlyer_edit.tpl','islandtickle')
->addCssFile('cart_pages.css') //use styles from main cart pages
->addCssFile('geo_templates/default/external/css/module/my_account_links.css')
->addCssFile('addons/islandtickle/js/listing.css');
if( $flyer_id != 'none' && $flyer_id != 'flyer_image' && $flyer_id != 'flyer_pdf' ){
$sbt->addCssFile('addons/islandtickle/js/fckeditor/_samples/sample.css')
->addCssFile('addons/islandtickle/js/fckeditor.css')
->addJScript('addons/islandtickle/js/fckeditor/fckeditor.js')
->addJScript('addons/islandtickle/js/fckeditor.js');
}
but when I substitute ckeditor verbage the html/tpl stays in the text edit area & the ck editor does not load:
$sbt = $view->setBodyTpl('customFlyer_edit.tpl','islandtickle')
->addCssFile('cart_pages.css') //use styles from main cart pages
->addCssFile('geo_templates/default/external/css/module/my_account_links.css')
->addCssFile('addons/islandtickle/js/listing.css');
if( $flyer_id != 'none' && $flyer_id != 'flyer_image' && $flyer_id != 'flyer_pdf' ){
$sbt->addCssFile('addons/islandtickle/js/ckeditor/_samples/sample.css')
->addJScript('addons/islandtickle/js/ckeditor/ckeditor.js')
->addJScript('addons/islandtickle/js/ckeditor.js');
}
(& yes I do have all the ckeditor files loaded on the server)
thanks,
Michael
fckeditor works with this:
$sbt = $view->setBodyTpl('customFlyer_edit.tpl','islandtickle')
->addCssFile('cart_pages.css') //use styles from main cart pages
->addCssFile('geo_templates/default/external/css/module/my_account_links.css')
->addCssFile('addons/islandtickle/js/listing.css');
if( $flyer_id != 'none' && $flyer_id != 'flyer_image' && $flyer_id != 'flyer_pdf' ){
$sbt->addCssFile('addons/islandtickle/js/fckeditor/_samples/sample.css')
->addCssFile('addons/islandtickle/js/fckeditor.css')
->addJScript('addons/islandtickle/js/fckeditor/fckeditor.js')
->addJScript('addons/islandtickle/js/fckeditor.js');
}
but when I substitute ckeditor verbage the html/tpl stays in the text edit area & the ck editor does not load:
$sbt = $view->setBodyTpl('customFlyer_edit.tpl','islandtickle')
->addCssFile('cart_pages.css') //use styles from main cart pages
->addCssFile('geo_templates/default/external/css/module/my_account_links.css')
->addCssFile('addons/islandtickle/js/listing.css');
if( $flyer_id != 'none' && $flyer_id != 'flyer_image' && $flyer_id != 'flyer_pdf' ){
$sbt->addCssFile('addons/islandtickle/js/ckeditor/_samples/sample.css')
->addJScript('addons/islandtickle/js/ckeditor/ckeditor.js')
->addJScript('addons/islandtickle/js/ckeditor.js');
}
(& yes I do have all the ckeditor files loaded on the server)
thanks,
Michael