Jump to:

10851 Posts in 2517 Topics by 1793 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: 5477 Views
  • AllArt
    Avatar
    Community Member
    1 Post

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

    Hi there Froog!

    Very nice module! I have a case where I have only 2 fields in the Tab Content, Main. Besides that I've made all other tabs and fields invisible. Is it possible to make the tabs Content and Main invisible and to only show the two fields in the root? (something like you've done in a screenshot You've posted earlier: http://silverstripe.org/assets/Uploads/simplifyexample.png ).

    I'd like to hear from you. Great work so far with this nice module!

    Greetings, Allart

  • UncleCheese
    Avatar
    4085 Posts

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

    I have a bug report. Took me forever to get to the bottom of this.. My page type dropdown in the behavior tab was showing the class name instead of the singular name, e.g. "MyPageClass" instead of "My Page Class".. only for the selected class name at the top.. all the others were fine. Finally tracked it down to the SimplifyDataObjectDecorator class.

    line 17:

    change

          $classList[$this->owner->class] = $this->owner->class;

    to

          $classList[$this->owner->class] = $this->owner->i18n_singular_name();

    Thanks for all your hard work!

  • froog
    Avatar
    Community Member
    43 Posts

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

    Hi Allart,

    That screenshot was from an early version of Simplify that wasn't very customisable - for example, you could only hide certains fields and tabs - so I could easily hide tab labels using CSS.

    I agree that its a useful feature - I've included it as a new feature request for the next version.

    Uncle Cheese - thanks, I've fixed that bug for the next release

  • timwjohn
    Avatar
    Community Member
    98 Posts

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

    I installed Simplify with the hope that I could hide the Files & Images tab from a group. Can't seem to find the option. Am I missing something? Thanks!

  • froog
    Avatar
    Community Member
    43 Posts

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

    Hi timwjohn,

    That option is built into Silverstripe, so Simplify doesn't have it.
    To set it, just click on the Permissions tab for the Group

    if you're using less than v2.4, change the "Full administrative rights" to "Access to Site Content (CMS Main)" and add any other permissions you need (except for Files & Images of course)

    If you're using 2.4+, just uncheck "Access to Files & Images"

  • timwjohn
    Avatar
    Community Member
    98 Posts

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

    Hi,

    That's what I tried initially. But it means that limited groups are unable to upload attachments to my custom DataObjects. So I do want them to be able to add and remove files on a per object basis, but not through the Files & Images tab. Cleaning-up operations can be performed by administrators... Always some special requirement, but that's clients for you!

    Thanks

    5477 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.