Closed (fixed)
Project:
insertFrame
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Feb 2010 at 11:13 UTC
Updated:
5 Feb 2010 at 14:48 UTC
Hi Marc.
I am using Drupal 6.15 and have installed insert iframe 6.x-2.0 (have tried 1.10 also).
I created a new block, and inserted the body
and in the frame, my localhost Drupal homepage shows up.
Can you please tell me where I'm going wrong?
Many thanks!
Comments
Comment #1
MarcElbichon commentedStrange.
Can you open source code page from the browser, search for iframe and post content of the line ?
Comment #2
alvinlb commentedhere it is..
< iframe src="www.google.com" width="100%" height="100%" onload='adjustHeight(this,15)' scrolling="no" frameborder="0" id="iframe1" name="iframe1" >< /iframe>
Comment #3
MarcElbichon commentedSo your filter code is [[[www.google.com]]] ?
Note that including page from another domain breaks auto-resizing due to browser security issue.
For your problem, i'm surprise. Generated code seems good. Can you refresh you browser cache ?
Comment #4
alvinlb commentedYes. I've tried other external url's also.
I can link to an internal network share in the frame successfully, generated code..
< iframe onload='adjustHeight(this,15)' name="iframe1" id="iframe1" src="\\server\share" scrolling="no" width="100%" height="100%" frameborder="0" >
I've refresed browser cache and cleared Drupals, same result.
Comment #5
MarcElbichon commentedCan I have access to your site with iframe page ?
Can you post me all source code and screenshot of the result ?
Comment #6
alvinlb commentedOops! Simply prefixing www with http:// solved my problem.
So sorry to have taken your time Marc, and thanks very much for your help :-)
Comment #7
MarcElbichon commentedGreat. But i don't understand why iframe without http:// prints drupal home page !
Comment #8
MarcElbichon commentedComment #9
alvinlb commentedNo, me neither. Not even sure why I tried it.
Anyway, testing by linking to the internal fileshare may well have solved another problem for me. I wanted our users to be able to browse exisiting network shares
from within the page and the only solution I'd found was integrating a DMS, which required moving all the data to the DMS' own filesystem .. too much hassle.. maybe I'll just
give them an iframe in a block :-)
I can still give you the source and screen if you like, but not access as its just a local test at the moment.
Comment #10
MarcElbichon commentedWhat is DMS ?
Does auto_resize work with shares ?
Comment #11
alvinlb commentedDocument Management System. Which was total overkill for what I need anyway, which is simply a way of navigating the shared folders from the Drupal page.
Yes, it does :-)