Hey!!
Someone knows how to put a HTMLEditorField (complete, not simple) in a pop-up of DataObjectManager?
Thanks!
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba
Hey!!
Someone knows how to put a HTMLEditorField (complete, not simple) in a pop-up of DataObjectManager?
Thanks!
Use SimpleHTMLEditorField
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!
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.
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 ;-)