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

  1. Extract zip file in the modules directory (See download page)
  2. Enable the module in the admin settings
  3. 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

  1. To include the page www.myurl.com/myapp.html with auto-height with a width of 100%
               [[[www.myurl.com/myapp.html]]]
  2. 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]]]
  3. 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 releasesDateSizeLinksStatus
6.x-2.02009-Oct-128.24 KBRecommended for 6.xThis is currently the recommended release for 6.x.
6.x-1.102009-Aug-257.9 KBSupported for 6.xThis release is supported but is not currently the recommended release for 6.x.
5.x-1.82009-May-167.78 KBRecommended for 5.xThis is currently the recommended release for 5.x.


 
 

Drupal is a registered trademark of Dries Buytaert.