Revision [243]
This is an old revision of Mod018fIFrameAction made by JsnX on 2004-05-08 12:11:52.
Wikka Mod 018
Type: Feature AdditionIFrame
This is a very simple action that can be very useful to include content that otherwise might not easily import into a Wikka page.
Usage example:
{{iframe height="480" width="650" url="http://google.com"}}
Note: This feature has been removed from the default install due to security concerns. It can be activated by moving the iframe.php file in the /intranet folder to the /actions folder. Only activate this if your site is on a local intranet and not exposed to the public.
<?php
$width = $vars['width'];
$height = $vars['height'];
$url = $vars['url'];
echo '<iframe width="'.$width.'" height="'.$height.'" src="'.$url.'"></iframe>';
?>
$width = $vars['width'];
$height = $vars['height'];
$url = $vars['url'];
echo '<iframe width="'.$width.'" height="'.$height.'" src="'.$url.'"></iframe>';
?>