Jump to:

3373 Posts in 998 Topics by 712 members

Data Model Questions

SilverStripe Forums » Data Model Questions » 2 Part Topic - HTMLText issue and HasManyComplexTableField

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

Page: 1
Go to End
Author Topic: 1355 Views
  • Hankster
    Avatar
    Community Member
    14 Posts

    2 Part Topic - HTMLText issue and HasManyComplexTableField Link to this post

    Hi,

    Please forgive me if this post isn't in the correct forum. I have two related issues. I am trying to the HasManyComplexTableField with one of the fields contained being declared as 'HTMLText'. The first problem is that when I edit this field in the popup (using HTMLEditorField in the the get CMSFields_forPopup function), the data is not being saved. When I click the Save button, I momentarily see: '<p> </p>' before the window refreshes and displays nothing in that field.

    The second half of this is still related to the use of the HasManyComplexTableField and that is: is it possible to add/edit the data contained without the use of the popup form? I would like to be able to mark up the text in the HTMLField, including inserting an image or two, but since it's a popup, the image link doesn't function.

    I'm currently using 2.3.0

    Any ideas how to resolve either/both of these?

    TIA,
    Henry

  • joshy
    Avatar
    Community Member
    57 Posts

    Re: 2 Part Topic - HTMLText issue and HasManyComplexTableField Link to this post

    Hi,

    I have exactly the same problem with HTMLText (running 2.3.1) and was trying to put, amongst other things, images, in. So I guess the second half of the problem pertains to me too!

    Any help would be much appreciated.

    Cheers

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