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.

Customising the CMS

Problem Saving in SimpleHTMLEditorField


Reply

189 Views

Avatar
smaction

15 May 2014 at 10:03am Community Member, 4 Posts

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?