Jump to:

5540 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Problem Saving in SimpleHTMLEditorField

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

Page: 1
Go to End
Author Topic: 173 Views
  • smaction
    Community Member
    4 Posts

    Problem Saving in SimpleHTMLEditorField Link to this post

    I am not sure if this is the correct place for this question but here goes....

    I have the following module http://pastebin.com/GkRnGQMt part of what it creates is the following popup http://imgur.com/lFHmfUr. This was in place before I got here and everything has been working. When I use the HTML editor created on line 89 the actual HTML field (see circle in image) is not saveable. I can edit the field but then the modification changes back before my eyes when I hit save. The problem is the code I am adding is an IFRAME. I know it can work because, as you can see, the code I want to replace is an IFRAME. Using SS 2.4.2 I tried changeing the field to SimpleTinyMCEField and that still did not work. Plain text will save but the HTML with an IFRAME won't. I also added this code: http://sspaste.com/paste/show/5373dd0031e29 to the end of my _config.php file. Any thoughts?

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.