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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

IFrame Module


Go to End


12 Posts   9468 Views

Avatar
haygoodg

Community Member, 2 Posts

25 December 2007 at 5:48am

I created a little module to enable IFrames within the CMS. So instead of entering content for a Page, you just provide a Remote URL, and it will be embedded within your site.

You can get it here: http://devwisdom.googlecode.com/files/iframe-0.1.zip

All feedback welcome!

Avatar
mbellino

Community Member, 32 Posts

28 December 2007 at 9:58pm

Hello Haygoodg

Nice work!!

I didn't try it out yet, but I appreciate every single idea, module and widget that let grow the features from SS.

Give rein to your ideas :-)

Have a nice day

Cheerio
Mario

Avatar
Fuzz10

Community Member, 791 Posts

4 April 2008 at 9:53pm

Hi,

Just used your module , great work. There is one hitch though, after installing the module, by default it fills the width and height with pixel values (e.g. 600px).. That does not work, one has to change these values to integer values (e.g. 600) in order for the them to do anything.

Avatar
asfahaan

Community Member, 6 Posts

12 April 2008 at 6:49pm

W0rks really well.

Much appreciated!!

Yep noticed the px glitch.

Avatar
Jethro

5 Posts

15 April 2008 at 8:01am

I tried the iframe. It seems to load ok when I did /db/build. When I go to the CMS I can not find the icon. It tried ?flush=1 and dumped my browser cache and still no icon. I know this sounds like a really dumb question but here goes, where should I see the button/icon for the iframe?

Best,

Jethro

Avatar
Fuzz10

Community Member, 791 Posts

15 April 2008 at 8:06pm

You are not supposed to see an icon. Instead, a new page type will be selectable in the "create" dropdown.

Good luck !

Avatar
Jethro

5 Posts

16 April 2008 at 3:27am

Fuzz10-

Thanks for your reply. I finally found it last night and didn't get back on here to remove my question. Mondays can drive you nuts.

Thanks again,
Jeff

Avatar
dancrew32

Community Member, 15 Posts

10 May 2008 at 12:25pm

Edited: 10/05/2008 12:49pm

anyone having trouble making this work again in 2.2.2 rc4?

Edit: Nevermind, I just deleted it and reinstalled it completely.. it's fine again. Sorry about that.

Go to Top