Skip to content
Tijn Kuyper edited this page Dec 7, 2015 · 4 revisions

Please read through this information carefully to ensure proper understanding and functionality of the Wrapper plugin.

Description

Wrapper allows you to easily integrate external pages into your website. This is done by using an iframe. The advantage of this plugin is that it allows non-technical users to use iframes as well. Obviously, tech-savy users can just directly use a standalone custom page (among other options).

Requirements

  • e107 v2.x (latest)
  • PHP 5.3+
  • Up-to-date browser
  • Willingness to read the documentation ;)

To be clear: e107 v1.x (or prior) is not supported, nor is any PHP version prior to PHP 5.3!

Credits

Wrapper is based on the "Wrap" plugin which was released early 2004, with its latest update dating back to 2006 (version 0.9.2). This plugin was developed by several different people. The original README document has been incorporated into the wiki of this plugin.

Specifically, I would like to credit the following authors who worked on the original wrap plugin: McFly, Jeremy2, Juan, SuS and jmstacey.

Please do not contact any of the previously mentioned authors for support with this plugin as they cannot assist you.

Original changelog of the Wrap plugin

No history stored prior to 0.4

2/14/2004 ( v0.4 ) McFly

  • Updated to allow you to wrap local files as well.

2/27/2004 ( v0.5 ) McFly

  • Added code to allow reading of files using older versions of PHP.

4/31/2004 ( v0.6 ) Jeremy2

  • Added a quick refrence table at the bottom so you can see the ID #, title, location, etc..
  • Made it more frienldy with 616+ (with 616 it is easyer to change you plugins folder path, so now it will tell you the right path to the wrapped page... no more yoursite.com)

7/15/2004 ( v0.7 ) Juan

  • Modification of files pluggin and wrap config and help with the aim of returning them multilingual
    4/28/2005 ( v0.8 ) SuS
  • Created two new icons and removed the old one.
  • Replaced help.php with Cameron's sample help.php
  • Changed the language files. There might be still double entries among other things.
  • Included check for language file, if not found default to English.
  • Renamed wrap_conf.php to admin_config.php. This way the page renders OK in the new plugin manager.
  • Changed the layout of the admin_config.php
  • Recreated the plugin.php to make sure the file is e107 0.7 compliant
  • Corrected the way Juan commented to use // instead of ##
  • Corrected the install path from wrap_07 to wrap
  • Added some comments (helps me keep track of events)

3/18/2006 ( v0.9 ) jmstacey + Scroll bar control (Auto, Yes, or No) + Width control (absolute or relative values accepted) + Auto height functionality + Ability to pass data to the external page + English language file cleaned up + help.php updated with new settings + Admin interface updated

6/25/2006 ( v0.9.1 ) jmstacey + Corrected incorrect text on Admin level + Give URL to iframe blindly + Enabled e107 database validity check + Added passing data example to Help + Removed non English languages since they were out of date

7/13/2006 ( v0.9.2 ) jmstacey + Changed MySQL syntax ENGINE= to TYPE= in wrap.sql + Added rough documentation example to readme