Jump to content

meiru

Members
  • Content count

    2
  • Joined

  • Last visited

Profile Information

  • Real Name
    Meier Heiner
  1. Good morning @ all Thanks puddlec, you are right. Well, I didn't get the last download from JcM to work. But I got the download from December 4th, 2020 for all info pages to run Code in ckedit.php class hook_admin_siteWide_ckedit { var $version = '1.3'; var $good_pages = ['categories.php', 'manufacturers.php', 'newsletters.php', 'mail.php', 'info_pages.php', 'testimonials.php']; var $sitestart = null; var $siteend = null; function listen_injectSiteEnd() { $this->siteend .= '<!-- ckedit -->' . PHP_EOL; $this->siteend .= '<script src="ext/ckeditor/ckeditor.js"></script>' . PHP_EOL; $ckedit = <<<eod <script> CKEDITOR.replace( 'products_description[1]', { filebrowserBrowseUrl: 'ext/ckfinder/ckfinder.html', filebrowserUploadUrl: 'ext/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files' } ); CKEDITOR.replace( 'products_description[2]', { filebrowserBrowseUrl: 'ext/ckfinder/ckfinder.html', filebrowserUploadUrl: 'ext/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files' } ); CKEDITOR.replace( 'categories_description[1]', { filebrowserBrowseUrl: 'ext/ckfinder/ckfinder.html', filebrowserUploadUrl: 'ext/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files' } ); CKEDITOR.replace( 'categories_description[2]', { filebrowserBrowseUrl: 'ext/ckfinder/ckfinder.html', filebrowserUploadUrl: 'ext/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files' } ); CKEDITOR.replace( 'manufacturers_description[1]', { filebrowserBrowseUrl: 'ext/ckfinder/ckfinder.html', filebrowserUploadUrl: 'ext/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files' } ); CKEDITOR.replace( 'manufacturers_description[2]', { filebrowserBrowseUrl: 'ext/ckfinder/ckfinder.html', filebrowserUploadUrl: 'ext/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files' } ); CKEDITOR.replace( 'testimonials_text', { filebrowserBrowseUrl: 'ext/ckfinder/ckfinder.html', filebrowserUploadUrl: 'ext/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files' } ); CKEDITOR.replace( 'testimonials_text', { filebrowserBrowseUrl: 'ext/ckfinder/ckfinder.html', filebrowserUploadUrl: 'ext/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files' } ); CKEDITOR.replace( 'page_text[1]', { filebrowserBrowseUrl: 'ext/ckfinder/ckfinder.html', filebrowserUploadUrl: 'ext/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files' } ); CKEDITOR.replace( 'page_text[2]', { filebrowserBrowseUrl: 'ext/ckfinder/ckfinder.html', filebrowserUploadUrl: 'ext/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files' } ); CKEDITOR.replace( 'content', { filebrowserBrowseUrl: 'ext/ckfinder/ckfinder.html', filebrowserUploadUrl: 'ext/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files' } ); CKEDITOR.replace( 'message', { filebrowserBrowseUrl: 'ext/ckfinder/ckfinder.html', filebrowserUploadUrl: 'ext/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files' } ); </script> eod;
  2. hi@all I've only just started looking at Phoenix. I read the thread carefully and read the last suggestions carefully. My solution; - Download ckeditor full version https://ckeditor.com/ckeditor-4/download/ - save in admin / ext / ckeditor write this code in admin/includes/template_bottom.php right before <? = $ OSCOM_Hooks-> call ('siteWide', 'injectBodyEnd')?> <script src = "ext / ckeditor / ckeditor.js"> </script> <script> CKEDITOR.replace ("products_description [1]"); CKEDITOR.replace ("manufacturers_description [1]"); CKEDITOR.replace ("categories_description [1]"); CKEDITOR.replace ("message"); CKEDITOR.replace ("content"); CKEDITOR.replace ("page_text [1]"); CKEDITOR.replace ("testimonials_text"); </script> tested with Phoenix 1.7.14 / 15/16 without having to copy the ckedit file to hooks / siteWide Have fun
×