Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Simplify - new version allows customisation of the Tiny MCE HTML Editor


Go to End


30 Posts   9603 Views

Avatar
froog

Community Member, 43 Posts

26 October 2009 at 4:19pm

Edited: 29/12/2009 11:04am

Hi all,

The next version of Simplify (0.0.6) has been released.
Now you can edit the buttons on the Tiny MCE HTML editor - move buttons around, and delete ones you don't want to create a less cluttered interface.

Check out the attached screenshots and download it here: http://idea.gotdns.com/simplify/simplify-v0.0.6.tar.gz

1. Install Simplify as per any module
2. Login to the CMS, click on Security, and the group you want to edit
3. Click the Simplify tab, then the HTMLEdtior tab
4. Check "Use the following button lists..."
5. The button lists are comma seperated text, edit them and hit save

Click Reset to Defaults if you want to get back to the standard buttons (then save)

Attached Files
Avatar
newms50

Community Member, 1 Post

3 November 2009 at 11:10pm

Hi a great, great, great, great, great module!
I think I found a bug. I am sorry. I noticed that when simplify is active I cannot change the URL under the Meta Data tab of a page. Here is a an example.

Again great mod!
Cheers

Avatar
Andrew Houle

Community Member, 140 Posts

5 November 2009 at 10:59am

Hi, I love the module! I was just curious if it would be possible to add a "hide delete from the draft site" option on the next version to get rid of that delete button for some users?

Thanks in advance for your help!

Avatar
froog

Community Member, 43 Posts

8 November 2009 at 9:12pm

newms50 - hmm strange, its looks like the input box is being hidden - what Simplify options are you selecting? Try installing without any options being picked and see if the error occurs. Also I assume you're using SS v2.3.1 - v2.3.3 on FF

Andrew - Yeah sure, I'm looking at adding Security and File & Images customisation as well. Hiding Delete and Unpublish will be added to the Access tab. Next version ;)

Avatar
Cuba

Community Member, 12 Posts

11 November 2009 at 7:53am

Hi!
I cant seem to download from your link. Maybe you can post it here directly like you did before? I'd love to evaluate it!

Good work!

/H

Avatar
froog

Community Member, 43 Posts

11 November 2009 at 11:05pm

Edited: 11/11/2009 11:06pm

My apologies, I changed some settings - the link above will now work for you.

Avatar
Cuba

Community Member, 12 Posts

12 November 2009 at 9:07am

Thanks! It now works. And the plugin is excellent! Great work!
However, i have som questions about the whole philosophy behind the module. As I understand it the silverstripe CMS (the /admin) is aimed towards editors and customers. All configurations and hard-core-settings are managed from the _config.php files. I'm wondering if this doesnt break that philosophy. What do you think?

/H

PS
What would be nice is to be able to configure this from the _config.php aswell.

Thanks again. You rock!

Avatar
froog

Community Member, 43 Posts

13 November 2009 at 9:46am

Edited: 13/11/2009 9:48am

Herbert- great comment! I've actually thought the same thing myself, as the number of tabs in the Simplify user interface grows :P

I thought something like a Simplify API that can be controlled via the _config or the classes themselves.

It could be done like this:

Simplify::apply_permission("administrators", "SIMPLIFY_HIDE_CREATE");
Simplify::apply_permission("my-group-name", {"SIMPLIFY_HIDE_CREATE", "SIMPLIFY_NO_CREATE_PAGE"});

And on classes themselves (for hiding fields from a group)

static $simplify_hide = array {
     "FieldName" => "my-group-name"
}

Thoughts??

The issue with this, is that Groups are created within the admin interface - hence why Simplify has the UI interface.
Also, this kind of configuration is useful for an end user admin - they may want to hide certain things from other users.

However, theres no reason why we can't have this as well as the UI :)

Go to Top