Project / Support Center
Welcome, Guest. Please login or register. September 29, 2021, 02:35: AM
Home Help Search Login Register
D-Web Web Site Creator D - Web Web Site Creator On-line HTML Editor No Programming knowledge required. Web Global Net PayPal-Cart Shopping Cart System PayPal - Kart Shopping Cart System for E-Commerce over the internet, that's easy to use. Web Global Net Newsletter Manager Newsletter Manager On-line Newsletter Creator with Email Subscriber Management.
Ring Central Discount
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  FCK/CKEditor  |  Topic: Using Custom Toolbars in the ckeditor 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Send this topic Print
Author Topic: Using Custom Toolbars in the ckeditor  (Read 8296 times)
admin
Guest
« on: August 18, 2010, 12:15: PM »

to use a custom toolbar you need to point to it when you add the coding to replace the textarea field where you want the editor to appear.

This is the typical code used on a page which also calls the ckfinder

<textarea name="about_us" cols="50" rows="5"><?php echo $row_rsassoc['about_us']; ?></textarea><script type="text/javascript">
   CKEDITOR.config.filebrowserBrowseUrl = 'fckeditor/ckfinder/ckfinder.html';
   CKEDITOR.config.filebrowserImageBrowseUrl = 'fckeditor/ckfinder/ckfinder.html?type=Images';
   CKEDITOR.config.filebrowserFlashBrowseUrl = 'fckeditor/ckfinder/ckfinder.html?type=Flash';
   CKEDITOR.config.filebrowserUploadUrl = 'fckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files';
   CKEDITOR.config.filebrowserImageUploadUrl = 'fckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images';
   CKEDITOR.config.filebrowserFlashUploadUrl = 'fckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash';
   CKEDITOR.replace( 'about_us',
    {
        customConfig : 'fckeditor/config.js'
    });
</script>

The bold red is what points to the custom toolbar which is stored in a file called config.php in the same directory of the editor itself.
Report to moderator   Logged
Pages: [1] Go Up Send this topic Print 
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  FCK/CKEditor  |  Topic: Using Custom Toolbars in the ckeditor « previous next »
Jump to:  


Login with username, password and session length
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!