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   647 Views

Avatar
Funfair77

Community Member, 49 Posts

5 November 2011 at 4:15am

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

Community Member, 323 Posts

5 November 2011 at 4:50am

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

Community Member, 49 Posts

5 November 2011 at 9:31am

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

Avatar
Funfair77

Community Member, 49 Posts

8 November 2011 at 2:39am

Edited: 08/11/2011 2:39am

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

Community Member, 323 Posts

8 November 2011 at 9:11pm

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

Community Member, 49 Posts

9 November 2011 at 2:20am

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

Community Member, 49 Posts

14 November 2011 at 8:43pm

Edited: 14/11/2011 8:47pm

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