Home > tidy

tidy

Tidy is a project mainly written in PHP, it's free.

A framework for the Joomla 1.6 CMS frontend with the purpose of using a ruby on rails like approach on the way the inclusion file declarations are generated.

  • Tidy Framework is a Joomla 1.6 frontend development framework which simplifies a two tier development architecture approach (local and remote).

  • USAGE

    In order to use the javascript call, one should copy the files mootools-core.js and mootools-more.js from the /media/system/js folder into the template javascript directory.

    On the index page of the template (/templates//index.php) following initializations are required:

    Require the inclusion of the framework file. <?php require_once JPATH_SITE . DS . "templates" . DS . $this->template . DS . "libs/tidy" . DS . "tidy.framework.php"; ?>

    Initialize a new instance of the packBuilder class: <?php $packer = new packBuilder($this); ?>

    In the header section of the template file, generate the relevant HTML code. The genJS() function can also be called close to the footer section of the page for better performance.

    genHeader(); $pack->genJS(); ?>