I'm using the module to pull an iFrame into a node to integrate an external non-Drupal billing portal (http://web61244.controlmywebsite.com/online-billing)
When viewing the iFrame in IE7 and then trying to log in we're getting an HTTP 500 error. Refreshing the frame then brings the login screen back but it can't seem to get past that point.
If we bring up the url for the iFrame direct in IE, then we're able to log in without problems, so the page for the portal works fine.
Everything works fine for FF, it's just when using IE and the iFrame.
Any suggestions?
Comments
Comment #1
MarcElbichon commentedIE7 use a policy. For more help, http://www.p3pxml.com/ or search "P3P privacy policy"
Create a file p3p.xml
and include in your files
Comment #2
Dubber Dan commentedOk thanks, that looks good. Have created the p3p.xml file and uploaded to the server. Do I add the PHP code into page.tpl.php and if so where, in the < /head > ?
Comment #3
MarcElbichon commentedI don't know.
I think you can add it in the first line of page.tpl.php.
According to posts, this must be added before any write to page.
Comment #4
MarcElbichon commentedPhp code must be inserted in pages shown in IFRAME, not in the "parent" site.
Fix this issue.
Comment #5
Dubber Dan commentedSo are you saying I need to add that PHP code into the particular node where the iframe is called?
I've tried that and had to change the input format to PHP to get it to recognise the PHP, but then the code that calls the iframe doesn't work as it's not PHP
[[[http://www.myiframeurl.com height=600px scrolling=yes]]]Comment #6
MarcElbichon commentedNo. You had to add this code in the page called by the iframe (so the remote page).
Comment #7
Dubber Dan commentedAh, I had a feeling you were going to say that! I don't know if we'll be able to get access to that page to be able to add the code, which will kinda stump us :-(
Thanks for the help.
Comment #8
MarcElbichon commentedComment #9
kirkhoward commentedMarc - Is there any way around gaining access to the REMOTE provider? I have this issue, and the content of my iFrame is out of my control, but my specification is to include their content in an iframe on my site. I have found that if I browse the remote site first, the iFrame works. Do you think there is a way to set the cookie first, before the iFrame loads?
Comment #10
MarcElbichon commentedIf you want to add cookie by javascript, you can use theme functions :
Example 1 - add cookie at init
Code to add in your template.php
Example 2 - add cookie on loading
Code to add in your template.php
your javascript in myOwnInserFrame.js can be :
Does this help you ?