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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

HTMLEditorField in popup


Go to End


5 Posts   3721 Views

Avatar
juandavidgc

Community Member, 36 Posts

25 June 2009 at 3:08am

Hey!!

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

Thanks!

Avatar
UncleCheese

Forum Moderator, 4102 Posts

25 June 2009 at 4:04am

Use SimpleHTMLEditorField

Avatar
juandavidgc

Community Member, 36 Posts

25 June 2009 at 5:03am

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!

Avatar
UncleCheese

Forum Moderator, 4102 Posts

25 June 2009 at 6:03am

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.

Avatar
schellmax

Community Member, 126 Posts

25 June 2009 at 8:19pm

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