Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CKEditor other buttons?
#1
sorry, noob question i think but i can't find any answer from the forum.
how do i enable the others buttons (like insert image, flash) for GS version 2 editor toolbar?

thanks!
Reply
#2
in the file gsconfig.php in the root of the install.

uncomment line 29 which enables all the advanced buttons in CkEditor.

Mike.
My Github Repos: Github
Website: DigiMute
Reply
#3
yes, i did that and it only revealed few extra drop down styling button and no insert image/flash/etc buttons.

maybe i have corrupted my install, will try a fresh install again.

thanks for the help!
Reply
#4
hi,

i am trying the last stable version 2.0.
yes even if we choose the advanced toolbar, we do not have access to the image button, so we could not insert images or files uploaded in the file manager (in which file do you configure teh toolbars, maybe the image plugin in ckeditor is not called to be dispalyed at all ?).

besides, it seems you used ckeditor 3.0 but there is a new release 3.1 with many bug fixes.

thank you to propose us a solution...

PS: i think it would be great if we could choose the elments of our toolbars, i mean maybe my advanced toolbar will be different from the standard one proposed by GS, could you say me where could i change that ?
Sharing is human real nature...
Reply
#5
uncomment of line 32 #define('GSEDITORLANG', 'fr'); in gsconfig.php and changing langauge to fr, ar, de, it...cause not display the editor !
i think there is a problem.

please to check and solve.
Sharing is human real nature...
Reply
#6
to superyms

of course there is a problem Smile you need to download CKEditor french language file and put it here
Code:
admin\template\js\ckeditor\lang
Reply
#7
vsky Wrote:to superyms

of course there is a problem Smile you need to download CKEditor french language file and put it here
Code:
admin\template\js\ckeditor\lang

Thank you,

Finaly i have installed all languages i may use : french, arabic, spanish, italian and german.

But until now there is no way to insert files or images from the editor ?? May be it will be developped for the next GS version i hope !

Bye.
Sharing is human real nature...
Reply
#8
Also looking for the insert Image button.

I have the advance option in the GS config file on, the other buttons appear but no the insert image button.
Is there a problem with allowing it?


Thanks.

Heres a screenshot:
[Image: ckedit.jpg]
Reply
#9
princemac Wrote:Also looking for the insert Image button.

I have the advance option in the GS config file on, the other buttons appear but no the insert image button.
Is there a problem with allowing it?


Thanks.

Heres a screenshot:
[Image: ckedit.jpg]

Hi,

I think as the browser file for CKEditor is not already coded or integrated so i don't think we will see that button until it will be done!

As the CKEditor do not include an open source browser...we have to achieve a replacement... maybe KFM - Kae's File Manager http://kfm.verens.com/

Bye.
Sharing is human real nature...
Reply
#10
Not sure what you mean superyms, but thanks nevertheless for your reply.

I was just thinking of a insert image button like what TinyMCE had, where you put the url of the image in, then select the justification (Main reason I want it) and border etc.

Thanks again.
Reply
#11
princemac Wrote:Not sure what you mean superyms, but thanks nevertheless for your reply.

I was just thinking of a insert image button like what TinyMCE had, where you put the url of the image in, then select the justification (Main reason I want it) and border etc.

Thanks again.

Ok normally it is ready to be used in CKEditor, we have just to call it for the configuration file of the advanced tool-bar, but i ignore where is this file is placed in GS 2.0, i asked already about it but not any answer...may be someone will do...i will search for it meanwhile!
Sharing is human real nature...
Reply
#12
superyms Wrote:
princemac Wrote:Not sure what you mean superyms, but thanks nevertheless for your reply.

I was just thinking of a insert image button like what TinyMCE had, where you put the url of the image in, then select the justification (Main reason I want it) and border etc.

Thanks again.

Ok normally it is ready to be used in CKEditor, we have just to call it for the configuration file of the advanced tool-bar, but i ignore where is this file is placed in GS 2.0, i asked already about it but not any answer...may be someone will do...i will search for it meanwhile!

Found, look in the file \admin\edit.php and there in the line 275 to 280 you have :

Code:
if ($EDTOOL == 'advanced') {
                $toolbar = "
                        ['Bold', 'Italic', 'Underline', 'NumberedList', 'BulletedList', 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock', 'Table', 'TextColor', 'BGColor', 'Link', 'Unlink', 'RemoveFormat', 'Source'],
              '/',
              ['Styles','Format','Font','FontSize']
          ";

you have just to add : Image, so it will become :

Code:
if ($EDTOOL == 'advanced') {
                $toolbar = "
                        ['Bold', 'Italic', 'Underline', 'NumberedList', 'BulletedList', 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock', 'Table', 'TextColor', 'BGColor', 'Link', 'Unlink', 'Image', 'RemoveFormat', 'Source'],
              '/',
              ['Styles','Format','Font','FontSize']
          ";

if you need to add Flash files you have to add Flash to call the flash button.

there also you could choose your buttons for the Basic one !

Bye.
Sharing is human real nature...
Reply
#13
I Love You!!

Now Get-Simple is PERFECT!

Thanks again
Reply
#14
SuperYMS, have you ever used the KFM browser before?
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#15
ccagle8 Wrote:SuperYMS, have you ever used the KFM browser before?
Yes, i have...but not in very large way..i mean just once!
Sharing is human real nature...
Reply
#16
Very Nice, thanks a lot!

But how come I can't paste with formatting included?? A window opens that wants to paste in plain text, how come?? In other CMSs using html editors I can paste with formatting. I had to use "Xinha Here" to paste with formatting and I don't really want to do that all the time. I must be missing something??

Thanks and keep up the great work!!
Reply
#17
tyee Wrote:Very Nice, thanks a lot!

But how come I can't paste with formatting included?? A window opens that wants to paste in plain text, how come?? In other CMSs using html editors I can paste with formatting. I had to use "Xinha Here" to paste with formatting and I don't really want to do that all the time. I must be missing something??

Thanks and keep up the great work!!

Hi,

I didn't remember why ? (i suppose that a bug in CKEditor 3.0 normally corrected in the new version or maybe something else) ...you could ask on the forum/community of CKEditor...maybe you will find why!

Bye.
Sharing is human real nature...
Reply
#18
thanks superyms for finding the edit.php line...

just curious, may i know the reason why those buttons (esp image) are not included?
i am re-skining the ckeditor buttons to make them looks nicer (minimal greyscale)
Reply
#19
I found it here - http://docs.cksource.com/ckeditor_api/sy...sPlainText

Whether to force all pasting operations to insert on plain text into the editor, loosing any formatting information possibly available in the source text.
Defined in: plugins/pastetext/plugin.js.

config.forcePasteAsPlainText = true;

Default Value:
false

It is false in GetSimple but acts like it is true, so must be a bug in CKEditor. I'll keep looking.


So does anyone know how to incorporate a fresh download of CKEditor into Get Simple? I'm guessing but it can't be as easy as just downloading and overwriting files is it??
Reply
#20
I could use a little help.

I am trying to add the Image Button, so I can add pictures from the editor, but this thread has gotten so fragmented it is hard to keep up with.

Could someone explain how to add the Image Button?

Thanks in advance.

Bob
Reply




Users browsing this thread: 1 Guest(s)