Skip to main content Help Control Panel

 

Téléchargements «   Overlays «  

"Wrapper" (iFrame) Overlay

Angeli Axel -- on Dec. 2 2007

This is a simple overlay that takes a single URL and displays it within an iFrame.

Putting an URL into an iFrame is one of the killer features of Joomla. It allows the display of portlets within the portal frames, like it were an article.

This overlay does the same as the "Joomla Wrapper".

This is a first version. It needs some amelioration with respect to the sizing of the iFrame, especially the dynamic sizing of the frameHeight. Watch out for variables frameHeight and framewidth in the cod of the wrapper.php.

Files

Wrapper Overlay May2008 - 3,456 bytes, 278 downloads
edited by Oxalagu on May 8 2008 · details
History

Comments

Moi-meme - on May 7 2008

Hi

It's a fine overlay. Many people will use it, certainly.

Can we expect some screenshot, or more documentation about how it work ? Because "This overlay does the same as the "Joomla Wrapper"." is not very YACs compliant... ,)

-----

Plugin Firefox : Search (new)  
Nouvelles fonctions suggérées <- centralisation perso
l'atelier ordinaire des innovations




Je ne m'attarde pas, j'ai mon yacs en double file...

Yacs on my blog | Suivez le blog Yacs | Yacs Showroom | Plugin Firefox de recherche dans Yetanoz |
Oxalagu - on May 8 2008
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
Moi-meme - on May 8 2008

Thank you.

My request was based on the idea to complete the french manual at Embarquer une page externe dans YACs

-----

Plugin Firefox : Search (new)  
Nouvelles fonctions suggérées <- centralisation perso
l'atelier ordinaire des innovations




Je ne m'attarde pas, j'ai mon yacs en double file...

Yacs on my blog | Suivez le blog Yacs | Yacs Showroom | Plugin Firefox de recherche dans Yetanoz |