×
Kunena 5.2.6 released and Blue eagle 1.6.6 released (25 Jul 2021)

The Kunena team has announce the arrival of Kunena 5.2.6 [K 5.2.6] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.2 and issues discovered during the development stages of K 5.2.6

Solved how to hide buttons in editor?

More
5 months 1 week ago - 5 months 1 week ago #1 by carsten888
There are just soooo many buttons in the editor (just click reply and you'll see). I would only like to show only a few on my forum. How to hide the buttons which are useless on my forum?

I have checked the configuration and disabled things like soundscloud- and ebay-embedding. But it still shows that button.
I checked the wiki, and searched this forum but found no answer.

joomla  3.9.24 
Kunena 5.2.2

 
Attachments:
Last edit: 5 months 1 week ago by carsten888.

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

More
5 months 1 week ago #2 by rich
Replied by rich on topic how to hide buttons in editor?
Go in the backend to your Kunena template (tab) BBCode and disable the unneeded buttons.
The following user(s) said Thank You: carsten888

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

More
5 months 1 week ago - 5 months 1 week ago #3 by carsten888
thank you. That took care of most of the buttons. I would not have thought the button-config was something template-specific.

Still some buttons I can not find how to hide.
Would you happen to know where those settings are?

Attachments:
Last edit: 5 months 1 week ago by carsten888.

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

More
5 months 1 week ago #4 by rich
Replied by rich on topic how to hide buttons in editor?
Try followings:
Go to folder /media/kunena/core/js and copy the ckeditor_config.js so that you have a backup.
Then open the original file and replace the code in lines 14 - 31

from
config.toolbarGroups = [
		{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
		{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
		{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
		{ name: 'forms', groups: [ 'forms' ] },
		'/',
		{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
		{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
		{ name: 'links', groups: [ 'links' ] },
		{ name: 'insert', groups: [ 'insert' ] },
		{ name: 'social', groups: [ 'social' ] },
		'/',
		{ name: 'styles', groups: [ 'styles' ] },
		{ name: 'colors', groups: [ 'colors' ] },
		{ name: 'tools', groups: [ 'tools' ] },
		{ name: 'others', groups: [ 'others' ] },
		{ name: 'about', groups: [ 'about' ] }
	];
to
config.toolbarGroups = [
		{ name: 'document', groups: [ 'document', 'doctools' ] },
		{ name: 'editing', groups: [ 'editing' ] },
		{ name: 'forms', groups: [ 'forms' ] },
		{ name: 'basicstyles', groups: [ 'basicstyles' ] },
		{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'paragraph' ] },
		{ name: 'links', groups: [ 'links' ] },
		{ name: 'insert', groups: [ 'insert' ] },
		{ name: 'styles', groups: [ 'styles' ] },
		{ name: 'colors', groups: [ 'colors' ] },
		{ name: 'tools', groups: [ 'tools' ] },
		{ name: 'about', groups: [ 'about' ] }
	];
The following user(s) said Thank You: carsten888

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

More
5 months 1 week ago #5 by carsten888
Perfect!
Thank you very much!

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.134 seconds