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.
Is it possible to have an HtmlEditorField in a complex table field (that uses a pop-up to edit its data)?
I am also wondering if you can have an image field within a complex table field?
Basically, I want website users to upload images and the site admin to review the uploaded images in a complex table field.
Are there any examples?
image upload through an ImageField should work in a CTF popup - there's a tutorial in the newest issue of the german PHP Magazine that does just that.
HTMLEditorField in CTF popup - don't go there, its a world of pain ;) seriously, there's too many optimizations specific to the main CMS UI to make this generically work on the popup.
Thanks Ingo - would love to see the german tutorial....
If you just want to split line breaks, you can use a TextareaField, and put $FieldName.XML in your pop-up.
Hey Nicolaas, we're allowed to make the PDF-tutorial available once the next publication of PHP Magazin hits the store (roughly mid may).
When you said, "If you just want to split line breaks, you can use a TextareaField, and put $FieldName.XML in your pop-up." What do you mean, "put" it?? What is the syntax?