Read before updating: How to Update Kunena Templates - More detail

CKeditor settings ignored

E Topic Author
New Member New Member
ew's Avatar
ew
  • Posts: 9
  • Thanks: 2

CKeditor settings ignored

4 years 6 months ago - 4 years 6 months ago
#16261
Hi,
I'm trying to limit the buttons for the CKeditor, but the settings in the template seems to be ignored. For testing I only allowed three buttons (bold, italic and underline), but the editor still shows all buttons. (see screenshots attached).
Do you have any suggestion how to fix this?
Greetings
Erich

Joomla 3.10.2
Kunena 5.2.6
Nts_kay 5.4.8

Attachments:

Last edit: 4 years 6 months ago by ew. Reason: Versions added

Please Log in or Create an account to join the conversation.

ntstore's Avatar
Administrator Administrator
  • Posts: 1213
  • Thanks: 240

Re: CKeditor settings ignored

4 years 6 months ago
#16264
Hi ew,

I checked this issue. The Configure works just fine with the BBCode editor. The error also appears on all the Kunena default template. First step try to open the ckeditor_config.js file in the "media\kunena\core\js" path and disable some groups you don't want theme to show. Next step we will continue to find a solution to this issue.

Best regards,
Hung Pham
Email: 9themestore@gmail.com
Twitter: @9themestore
The following user(s) said Thank You: ew

Please Log in or Create an account to join the conversation.

E Topic Author
New Member New Member
ew's Avatar
ew
  • Posts: 9
  • Thanks: 2

Re: CKeditor settings ignored

4 years 6 months ago
#16265
Hi Hung,
Wow!!! Thank you for the very prompt answer!

I was able to eliminate some groups as an interim quick fix. I only was able to disable on group-level but not on item level.
Sounds good to hear you are working on a solution. - looking forward seeing the result...

Again: many thanks for the very responsive support!

Erich

Please Log in or Create an account to join the conversation.

ntstore's Avatar
Administrator Administrator
  • Posts: 1213
  • Thanks: 240

Re: CKeditor settings ignored

4 years 6 months ago - 4 years 6 months ago
#16267
Hi,

I have posted this problem on the Kunena forum and actually the configuration in the kunena template's back-end is not for the CKeditor. So I found the solution for you to hidden the button you want.

Open the ckeditor_config.js file and add below code to about line 48:
Code:
// Remove all button you want config.removeButtons = 'Bold,Italic,Underline,Image';

List all buttons want to hide to the above list. Hope my solution will help you to solve your desired problem.
Hung Pham
Email: 9themestore@gmail.com
Twitter: @9themestore
Last edit: 4 years 6 months ago by ntstore.

Please Log in or Create an account to join the conversation.

E Topic Author
New Member New Member
ew's Avatar
ew
  • Posts: 9
  • Thanks: 2

Re: CKeditor settings ignored

4 years 6 months ago
#16268
Hi Hung,
thanks for your suggestion - I'll give it a try but I'm sure this will work for me.
BR
Erich

Please Log in or Create an account to join the conversation.

E Topic Author
New Member New Member
ew's Avatar
ew
  • Posts: 9
  • Thanks: 2

Re: CKeditor settings ignored

4 years 6 months ago
#16269
Hi,
for all having the same problem:

Create a new file in htdocs\media\kunena\core\js and name it MYSETTINGSckeditor_config.js (you can replace the prefix "MYSETTINGS" with whatever you like).

Use the toolbar configurator ckeditor.com/latest/samples/toolbarconfi...tor/index.html#basic and design your toolbar.

Click on "Get T Toolbar config" and copy the content to your new file.

In Joomla Kunena config go to the Nts_kay template settings -Bbcode and set "Editor to user" to "CKedtior". Scroll down to the last setting "Set the name of the prefix to load a custom config file for CKeditor" and enter the prefix ("MYSETTINGS") from above.

Save and exit.

The editor now uses the settings from your file you designed with the designer.

Maybe this will save somones work.

br
Ercih
The following user(s) said Thank You: ntstore

Please Log in or Create an account to join the conversation.

ntstore's Avatar
Administrator Administrator
  • Posts: 1213
  • Thanks: 240

Re: CKeditor settings ignored

4 years 6 months ago
#16272
Thank you Ercih,

This is very useful tip for all our customers want to use the CKeditor editor.

Thank again.
Hung Pham
Email: 9themestore@gmail.com
Twitter: @9themestore

Please Log in or Create an account to join the conversation.

Time to create page: 0.281 seconds