source:/branches/0.8/html/gadgets/Launcher/images/logo.png

Launcher

Feel free to add or edit content!

Functionality

It executes self written scripts (PHP)

Destination of scripts

The scripts are stored in

{JAWS_INSTALL}/gadgets/Launcher/scripts/

How to create a script

If you want to write a script for Launcher just include a file with a function (without params) with the same as the file.

An Example: File Hello.php must have a function Hello().

So it looks like this:

<?php
  function Hello() 
  {
    return "Hello World";
  }
?>

Everything in the function will be executed. In this case, "Hello World" will be displayed.

Display a script on homepage

This is done easily over the Control Panel -> Layout. Just click Add Gadget and then select Launcher an the script you would like to display.