Jump to:

10994 Posts in 2728 Topics by 1819 members

All other Modules

SilverStripe Forums » All other Modules » Simplify - new version allows customisation of the Tiny MCE HTML Editor

Discuss all other Modules here.

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

Page: 1 2 3 4
Go to End
Author Topic: 5723 Views
  • froog
    Avatar
    Community Member
    43 Posts

    Simplify - new version allows customisation of the Tiny MCE HTML Editor Link to this post

    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
  • newms50
    Avatar
    Community Member
    1 Post

    Re: Simplify - new version allows customisation of the Tiny MCE HTML Editor Link to this post

    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

    Attached Files
  • Andrew Houle
    Avatar
    Community Member
    132 Posts

    Re: Simplify - new version allows customisation of the Tiny MCE HTML Editor Link to this post

    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!

  • froog
    Avatar
    Community Member
    43 Posts

    Re: Simplify - new version allows customisation of the Tiny MCE HTML Editor Link to this post

    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 ;)

  • Cuba
    Avatar
    Community Member
    12 Posts

    Re: Simplify - new version allows customisation of the Tiny MCE HTML Editor Link to this post

    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

  • froog
    Avatar
    Community Member
    43 Posts

    Re: Simplify - new version allows customisation of the Tiny MCE HTML Editor Link to this post

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

  • Cuba
    Avatar
    Community Member
    12 Posts

    Re: Simplify - new version allows customisation of the Tiny MCE HTML Editor Link to this post

    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!

  • froog
    Avatar
    Community Member
    43 Posts

    Re: Simplify - new version allows customisation of the Tiny MCE HTML Editor Link to this post

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

    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

    5723 Views
Page: 1 2 3 4
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.