Hi, I am sort of new in Drupal. I have been trying to put insertFrame to work, but when the node loads the frame it shows my own website instead of the external website (my website is jd.kadchi.com, and I am trying to load sudlersothebysrealty.com). Also, in Explorer, Chrome and Safari the frame shrinks down to a much smaller size (and does not load the external url either). This is the code I am using in my website's node:
[[[url= width=<100%> height=<500px> scrolling=]]]
I would highly appreciate any insight about what I am doing wrong. Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | insertFrame.zip | 3.43 KB | MarcElbichon |
Comments
Comment #1
MarcElbichon commentedYou must delete < and > chars
Ex : [[[sudlersothebysrealty.com width=100% height=500px scrolling=auto]]]
Comment #2
david_p commentedNow is working smoothly. Thanks a lot!
Comment #3
MarcElbichon commentedComment #4
cobadger commentedI have Drupal 7 installed and am having a similar problem. Error I'm getting is:
Parse error: syntax error, unexpected '[' in /usr/www/users/dollarhu/drupal7/modules/php/php.module(75) : eval()'d code on line 43
Code I'm using to insert the frame is:
Under Home » Administration » Configuration » Content authoring » Text formats, I have clicked on "configure" for "PHP Code" and checked the box next to "Include iFrame with auto-height feature".
Lastly, I have "Include iFrame with auto-height feature " positioned above "PHP Evaluator" in the Filter Processing Order, so it should be evaluating this call to the insertFrame module before parsing the php language beneath it.
Any idea what I should be doing differently?
Comment #5
MarcElbichon commentedI'm not sure filter works for PHP Evaluator.
You can do the same by using directly the php function :
Comment #6
cobadger commentedThanks @MarcElbichon - your suggestion did indeed pull the html onto my page, but it didn't display properly - the only content on the page was the iFrame's content; my theme, navigation and everything else was missing.
I experienced this with some html I'd included on php content pages.
I have found Drupal 7 to be too buggy for a newbie like me (bizarre issues with php code I've built into my pages - functions being evaluated even when the page containing those functions was not active); have installed 6.something and it's behaving much better.
Comment #7
ecedeno commentedHi, I have the same problem the frame does not load external url, i used the documentation of this article
http://drupal.org/node/602268 and http://drupal.org/project/insertFrame follow all the setps.
1. Extract zip file in the modules directory
2. Enable the module in the admin settings
3. Add the filter to an input format
I try diferent options using
[[[http://www.google.com width=500px height=300px ]]]
But does not load external page. Do you have any suggestions? please help me
Comment #8
MarcElbichon commentedThere's a bug with full url.
Ca you try attached release ?
Comment #9
ksubramani commentedI now used the release of Jan 26, 2011 in the module page.
I get Error 403 - Access Forbidden, but the URL comes out wrong
">http://www.site.com]]]
I have used just
[[[http://www.site.com]]]
Is it some tagging issue?
The site displays OK with the regular IFRAME syntax.
------------------------------------------------------
I removed all the other filters then the module worked.
Even though the filter order specified IFRAME filter to be the first, the sequence displayed in the Edit content page was different. So removing the other filters helped.
Comment #10
MarcElbichon commentedWhich filters do you use ?
Comment #11
MarcElbichon commentedNo response. Closed