Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » HTMLEditorField in popup

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 2654 Views
  • juandavidgc
    Avatar
    Community Member
    36 Posts

    HTMLEditorField in popup Link to this post

    Hey!!

    Someone knows how to put a HTMLEditorField (complete, not simple) in a pop-up of DataObjectManager?

    Thanks!

  • UncleCheese
    Avatar
    4085 Posts

    Re: HTMLEditorField in popup Link to this post

    Use SimpleHTMLEditorField

  • juandavidgc
    Avatar
    Community Member
    36 Posts

    Re: HTMLEditorField in popup Link to this post

    Hi UncleCheese! thanks for your response!

    well, i used SimpleHTMLEditorField, but my cliente prefer the same editor located in all pages, Is it posible ?

    Thanks!

  • UncleCheese
    Avatar
    4085 Posts

    Re: HTMLEditorField in popup Link to this post

    You can try it, but I don't suspect you'll have much luck. It's a little too much overhead for that little popup window. If you're needing that amount of editing, you should probably be creating pages, not dataobjects.

  • schellmax
    Avatar
    Community Member
    126 Posts

    Re: HTMLEditorField in popup Link to this post

    just a comment on this:

    in fact, the lack of advanced controls in popus, such as a fully featured html-editor, is one of the most important drawbacks when it comes to flexibility in silverstripe. this is a point where the (otherwise really cool) cms doesn't meet up with flexibility you have in code (defining your page classes and dataobjects). there are many posts in this forum concerning this; see also the bug tracker (http://open.silverstripe.org/ticket/3490).

    as you already found, unclecheese did a great job providing some helpers (such as simplehtmleditorfield and simpletreedropdownfield), and often you can get around this using page classes instead of dataobjects (as unclecheese mentions).

    to me this is directly related to the restricted functionality of complextablefields (once again unclecheese provides relief here with dataobjectmanager), on which silverstripe staff is working for the next release (http://open.silverstripe.org/ticket/3476). to me, this will be an enhancement to make silverstripe immortal ;-)

    2654 Views
Page: 1
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.