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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

I frame solution no good answer


Reply

7 Posts   609 Views

Avatar
Funfair77

5 November 2011 at 4:15am Community Member, 49 Posts

Hello,
I saw a couple of questions about Iframe in the WYSIWYG editor
Like: Re: SS Removing Closing <iframe> Tag From TextField

But wat is the best solution if I want to paste Google maps Iframes into the editor. Disable the html editor?

I'm curious about your experience.

Marnix

Avatar
Juanitou

5 November 2011 at 4:50am Community Member, 323 Posts

Hi Marnix!

I have no issues when I put the Google maps iframes in a <p></p> through the HTML editor.

Hope it helps,
Juan

Avatar
Funfair77

5 November 2011 at 9:31am Community Member, 49 Posts

Thank you for the feedback. I give it a try!

Avatar
Funfair77

8 November 2011 at 2:39am (Last edited: 8 November 2011 2:39am), Community Member, 49 Posts

Nope, this doesn't work.
When I add this code to a page I get an error: Error saving content

<p>Text.</p>
<p><iframe src="http://www.youtube.com/embed/sPubVc3y5II" width="320" height="180" frameborder="0"></iframe></p>

Suggestions?!

Marnix

Avatar
Juanitou

8 November 2011 at 9:11pm Community Member, 323 Posts

That’s curious. I often insert videos using this technique in a SS blog and I could paste your code straight into a test page without issues.

I fail to see the link between inserting an iframe and this error, which I’ve only seen when having conflicts between JavaScript requirements of modules in the CMS. Try to trace it with Firebug to gain a better understanding of wht’s happening.

Sorry, I’m not very knowledgeable…

Hope it helps,
Juan

Avatar
Funfair77

9 November 2011 at 2:20am Community Member, 49 Posts

Firebug answer, hmmmm... someone chmod problem???

403//<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<h1>Forbidden</h1> <p>You don't have permission to access /admin/EditForm on this server.</p>
<hr> <address>Apache/2.2.0 (Fedora) Server at m.imaginationlab.nl Port 80</address>
</body></html>

Avatar
Funfair77

14 November 2011 at 8:43pm (Last edited: 14 November 2011 8:47pm), Community Member, 49 Posts

Hello Juanitou,

I have the last SS version installed.
In the version of 2 years ago it was ppossible.

SOLUTION: I see this tread: http://www.silverstripe.org/general-questions/show/16438

Marnix