14 June 2009 at 10:56pm
Hi guys, a while back on 2.2.2 i had found a hack to add iframes and make the HTML eat it.
Now on 2.3.1 the valid elements trick doesn't work (as read on many threads).
How on earth can we add iframes? I have read a few posts with specific things to do, compile, recompile and upload.
Surely in 2009 with the web being as interactive as it is we can paste iframes in an easy manner in SS?
Has anyone found a trick that doesn't involve 3h of programming and would like to share it step by step?
15 June 2009 at 12:32am
Well, as long as you don't need the iframe to be in your content-text (eg. editable within TinyMCE), the solution is simple: Just create a new database field with type text and add a TextArea Field to enter your raw html code there. Let's assume the new field is named RawHtml, then you could output the following in your tempate: