insertFrame
MarcElbichon - April 3, 2008 - 08:08
Description
This filter allows to insert a frame (or iframe) in a node.
The height can be calculated to show entire page. Navigation in frame resize the iframe object.
Installation
- Extract zip file in the modules directory (See download page)
- Enable the module in the admin settings
- Add the filter to an input format.
Use
To insert a frame in a node in drupal, add the following :
[[[<url> width=<w> height=<h> scrolling=<yes|no|auto> className=<class> ID=<id> offset=<offset>]]]
where :
- url : Url of the page
- w : Size as css declaration (%,px,em) - Default : 100%
- h : Height as css declaration (%,px,em). if height=100% and url is in the same domain as web site, the height will be ajusted to the real height of the source- Default :100%
- scrolling : Scrollbar settings. Values from IFRAME tag - Default : no
- class : Name of a CSS class
- ID : Id and name of the frame - default iframe1
- allowtransparency : Allow (true) or not (false) iframe transparency
- offset : offset is a number to add to correct (if needed) auto calculated height - Default 15
- wrapper (since 2.x) : InsertFrame can include some externals pages (wrapper). Values can be text, html or htmlpage.See Features for more details.
Don't forget to set the input format the filter has been assigned to.
Examples
- To include the page www.myurl.com/myapp.html with auto-height with a width of 100%
[[[www.myurl.com/myapp.html]]] - To include the page www.myurl.com/myapp.html with height of 500px and width of 300px
[[[www.myurl.com/myapp.html height=500px width=300px]]] - To include a frame of id myframe with the myCSSClass css class
[[[www.myurl.com/myapp.html id=myframe class=myCSSClass]]]
Features (1.x and 2.x)
See documentation for more détails
IMPORTANT
Cause firewall restriction, i can't manage easily releases.
Please check http://code.google.com/p/mmr-drupal-modules/wiki/insertFrame for new releases or updates.
Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-2.0 | 2009-Oct-12 | 8.24 KB | Download · Release notes | Recommended for 6.x | |
| 6.x-1.10 | 2009-Aug-25 | 7.9 KB | Download · Release notes | Supported for 6.x | |
| 5.x-1.8 | 2009-May-16 | 7.78 KB | Download · Release notes | Recommended for 5.x | |
