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

Skeleton

Feel free to add or edit content!

Functionality

This gadgets has no real function. It shows the version of your Jaws on the frontpage. But it is a good base to write your own gadget(s).

Structure

+Skeleton
|+images
|+language
|+templates
|-Actions.php
|-AdminHTML.php
|-AdminModel.php
|-HTML.php
|-Info.php
|-LayoutHTML.php
|-Model.php
|-Package.php

images

This directory is for all images you are using in your gadget. You can also create directories in images to get it organized.

language

For translating your gadget in other language, each language is stored in a separate file. It will also show up in the Languages.

templates

In here you put all your templates for admin, frontpage and other you create.

Actions.php

AdminHTML.php

AdminModel.php

HTML.php

Info.php

LayoutHTML.php

Model.php

Package.php

Display Skeleton on homepage

This is done easily over the Control Panel -> Layout. Just click Add Gadget and then select Skeleton.