Skip to main content Help Control Panel

Login   A+   A-

Downloads «   Overlays «   "Wrapper" (iFrame) Overlay «  

Tools

Reply: "Wrapper" (iFrame) Overlay

<< Previous Next >>
Hi,

documentation would be an ambitious word for this tiny application.

Let me try to do some small tutorial for Overlays in general.

In fact the WRAPPER is the most simple use of the overlay and it does basically what "HelloWorld" would do. Instead of Writing HelloWorld it writes now into the overlay (in function get_text)

In function get_fields($host)

I added some fields, that will be schown in the page creation dialog and ask for the "wrapperurl"


// the external URL to put into the frame
$label = i18n::s('Wrapper URL');
$input = '';
$hint = i18n::s('The external page to be inframed');
$fields[] = array($label, $input, $hint);


please mind, that the data entered here needs to be parsed in :


function parse_fields($fields

by Oxalagu on May 8