GetSimple Support Forum
Add Option on CKEdit - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Scripts & Components (http://get-simple.info/forums/forumdisplay.php?fid=11)
+--- Thread: Add Option on CKEdit (/showthread.php?tid=864)



Add Option on CKEdit - dreamnop - 2010-07-20

i can add option on CKEdit because some option i use it (sory i can write English it bad )

[Image: getsim.jpg]

i Edit file /admin/edit.php

Code:
if ($EDTOOL == 'advanced') {
                $toolbar = "
                        ['Cut','Copy','Paste','PasteFromWord','Bold',' 'Italic', 'Underline', 'NumberedList', 'BulletedList', 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock', 'Table', 'TextColor', 'BGColor', 'Link', 'Unlink', 'Image', 'RemoveFormat', 'Source','Flash'],              '/',
              ['Styles','Format','Font','FontSize']
          ";
            } elseif ($EDTOOL == 'basic') {
                $toolbar = "['Font','FontSize','Styles','TextColor','Table','Cut','Copy','Paste','PasteFromWord','Flash'],['Bold', 'Italic', 'Underline', 'NumberedList', 'BulletedList', 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock', 'Link', 'Unlink', 'Image', 'RemoveFormat', 'Source']";
            } else {
                $toolbar = GSEDITORTOOL;
            }



Add Option on CKEdit - Zegnåt - 2010-07-20

You don’t have to edit any admin files, you can just put a toolbar configuration in the GSEDITORTOOL setting of gsconfig.php.