Static Page Plugin to hold iFrame?

Creating and modifying plugins.
Post Reply
User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Static Page Plugin to hold iFrame?

Post by garvinhicking » Tue May 03, 2005 7:04 pm

I'd create a sidebar plugin which includes the file in question instead of using ugly iframes :)

Look at serendipity_plugin_gallery_menalto_random (or sth. like that), this embeds a foreign gallery page into your blog. You could adapt this and embed your own script there...

As for the reason why it failed, I could only tell that if you give me the URL to the blog with that iframe code in it...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Wed May 04, 2005 12:40 am

Rob: Using Firefox, it works properly. The IE fails, though. You might need to look up iframe specifications and see why the IE is freaking. I bet it's got something to do with XHTML/Doctype compliance or missing attributes...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

User avatar
Wizard
Regular
Posts: 103
Joined: Sat Aug 13, 2005 7:18 am
Location: Southern California
Contact:

wrapURL rocks

Post by Wizard » Sat Aug 13, 2005 7:23 pm

This plugin worked great! I used it to "embed" not only coppermine, but another program I have that catalogs movies. It can output HTML pages with links, photos and other information that I now wrap Serendipity around it. Thanks Rob for the useful program. Here is the link if you want to see it in action. http://www.socalwizard.com/serendipity/index.php?/wpages/mydvds.html
Wizard
My WeBlog

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: wrapURL rocks

Post by garvinhicking » Sun Aug 14, 2005 2:18 am

I just took the liberty to add the plugin to our repository. Thanks a lot, Rob - and I hope this is fine with you? :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

verbatim
Regular
Posts: 43
Joined: Sat Mar 12, 2005 10:53 pm

quick question

Post by verbatim » Fri Sep 16, 2005 10:59 am

quick question

is it posible for the links on the page i embed to be shown inside frames also when they are clicked on?

Just curious to how this would be done?

thanks

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: quick question

Post by garvinhicking » Fri Sep 16, 2005 1:27 pm

Verbatim,

if you add an iframe to a page, all links inside that iframe will be shown within the iframe. Only if the links have a "target=top" or "target=parent" attribute they will break out of the iframe, which cannot be prevented.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

verbatim
Regular
Posts: 43
Joined: Sat Mar 12, 2005 10:53 pm

Post by verbatim » Fri Sep 16, 2005 7:42 pm

thanks Garv,

the test page i used happened to be one that would break out of the iframe.

thanks again

Post Reply