Tinymce question
Permalink
Anyone have any idea how to remove the C5 toolbar from the top of the advanced tinymce?
I'm using it for registered users to add an image but they see the C5 options as bulleted links and they don't have permissions to use them so they don't go anywhere and it's just confusing them.
I've attached a screenshot to show what they see.
An even better solution would be another way to add the image, similar to the avatar method but I'm not sure how to modify it to use it again on the profile.
I'm using it for registered users to add an image but they see the C5 options as bulleted links and they don't have permissions to use them so they don't go anywhere and it's just confusing them.
I've attached a screenshot to show what they see.
An even better solution would be another way to add the image, similar to the avatar method but I'm not sure how to modify it to use it again on the profile.
Thank you! I've looked everywhere but there.
I do hate to lose the functionality though. Would there be a way to limit the view of the C5 toolbar to administrators only?
I do hate to lose the functionality though. Would there be a way to limit the view of the C5 toolbar to administrators only?
thanks Andy J. You've short-cutted this problem for me too.
I'll just add...
As a slight alternative, I put this code in my themes main.css file so i didn't have to mess with the core code
.ccm-editor-controls{
display:none;
}
This will hide the C5 toolbar as opposed to removing it altogether.
Also, I've used this condition within custom block forms to hide options from non-admins...
you might be able to do something similar in /concrete/elements/editor_controls.php if you want to toggle it's availability between admin and lesser permissions.
Thanks
I'll just add...
As a slight alternative, I put this code in my themes main.css file so i didn't have to mess with the core code
.ccm-editor-controls{
display:none;
}
This will hide the C5 toolbar as opposed to removing it altogether.
Also, I've used this condition within custom block forms to hide options from non-admins...
$u = new User(); if ($u->isSuperUser()) { echo [your control here]; }
you might be able to do something similar in /concrete/elements/editor_controls.php if you want to toggle it's availability between admin and lesser permissions.
Thanks
/concrete/elements/editor_controls.php - you should see the items contained in an unordered list.
If you take a copy of this file - remove the items you dont' want and then put your copy in /elements (your root folder not the concrete one then this will remove the items).
Or - I guess you could also put a visibility constraint in the CSS for the relevant holding DIV - have not checked this so might not be a good approach.
If you do this though your editors will lose the ability to add/upload files and images and those links have that really nice functionality of being able to pick out and add links to site pages without having to copy and paste the url...