Hi,

I have follwed the instrutions and assigned the insertiframe to both filtered html and full html.

When I enter [[[http://www.myurl.com/myapp.html]]] it smply returns [http://www.myurl.com/myapp.html] with the first part as a link that for some reason goes to create a wiki page.

I have installed this in a Drupal Commons installation and am attempting to insert the Iframe in a new page.

Appreciate any tips as to what I am missing?

thanks in advance

CommentFileSizeAuthor
#11 Capture.JPG38.14 KBOnthegOinOz

Comments

MarcElbichon’s picture

Try to set insertFrame filter first of the filter list.
For filtered HTML, add iframe in the allowed keyword list.

OnthegOinOz’s picture

Thanks for such a quick reply : )

I have set insertFrame filter first of the filter list

But what I think is "For filtered HTML, add iframe in the allowed keyword list.", I have added the term 'iframe' to the HTML elements and attributes of the Filtered HTML input format.

As a result nothing appears?... any ideas?

MarcElbichon’s picture

Can i have access to your site ?
If yes, can you send me url by mail ?

OnthegOinOz’s picture

pm sent : )

MarcElbichon’s picture

There is a compatibility problem with WYSIWYG filter. Full HTML works (if insertFrame filter is first).
Filtered filter works if WYSIWYG filter is disabled.
I suggest you to create a new input format with only insertFrame filter for node with only [[[...]]] syntax.

OnthegOinOz’s picture

Well done... thanks heaps!!!!

First time i've been able to get an IFrame to autosize the height... quite a treat!

cheers

MarcElbichon’s picture

Status: Active » Closed (fixed)
skobe’s picture

Version: 6.x-2.x-dev » 7.x-2.1
Category: bug » support
Status: Closed (fixed) » Active

Hello i'm having the same problem. insertiframe doesn't show any effect..

i followed your advices and created a new input format containing exclusively the insertiframe-filter and chose this input format when creating a new node which contains the following: [[[http://www.domain.de]]]

but nothing happens.. :/

any more suggestions? Thanks in advance!!

MarcElbichon’s picture

Can you try adding height=500px ?

You may experience cross domain problem with iframe. If url is not in the same domain as the parent site, auto-height cannot work.

skobe’s picture

Status: Active » Closed (works as designed)

If url is not in the same domain as the parent site, auto-height cannot work.

Arrrgh.. valuable information there :D i didn't know that.. bummer... thanks anyway for that lightning-fast reply!!

OnthegOinOz’s picture

StatusFileSize
new38.14 KB

Hi Marc,

Not sure whats happened here but I just cam back to me site after some time away and the insertframe does not seem to be working again..?

snapshot attached

MarcElbichon’s picture

An error is triggered when auto size, but it has no description !
Have you changed url ? Is it in the same domain ?

OnthegOinOz’s picture

all the same... you can see the site in the iframe but the auto size is not working?

OnthegOinOz’s picture

the only thing that has happened is that I upgraded the software of the site that is in the iframe... all details, urls etc stayed the same

MarcElbichon’s picture

Can't reproduce in your site (anonymous or logged as admin) ! Tested with Chrome and firefox

OnthegOinOz’s picture

fault at my end... the global redirect to https:// had been removed by my admin... it works well now
thanks!