Skip to content
This repository was archived by the owner on Feb 28, 2026. It is now read-only.

Functionalities

Tijn Kuyper edited this page Dec 2, 2016 · 3 revisions

Links

There are two type of links that you can use, SEF (Search Engine Friendly) URLs or regular URLs.

The SEF URL is: http://www.yourwebsite.com/wrapper/ID/WRAPPERTITLE

The regular URL is: http://www.yourwebsite.com/e107_plugins/wrapper/wrapper.php?1

Shortcode

You can include the Wrapper in any page you want, by using a shortcode.

The shortcode for Wrapper is: {WRAPPER id=x&pass=y}

  • You can replace x with the ID of your Wrapper. IF you want to pass along data (see below) you can replace y with this data.
  • Examples: {WRAPPER id=1} or {WRAPPER id=9&pass=q=dogs}

You can use this shortcode on any page, for example a custom page or menu created through the Admin Area.

Passing data through the Wrapper

Say you want to pass data through your iframe. This is possible by using the so-called "wrap_pass". Wrap will attach the string contained in wrap_pass (key1=value1&key2=value2) and add it to the src tag of the iframe.

This may sound rather vague, so let's illustrate this by means of an example:

You could then make a search on google for "dogs" by using this link: http://www.yourwebsite.com/e107_plugins/wrapper/wrapper.php?9&wrap_pass=q=dogs

This would load the google website within your wrapper, with a search enter for dogs. The URL that is loaded in your wrapper is: http://www.google.com/search?q=dogs

Clone this wiki locally