* 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 <joomla_root_dir>/media/system/js folder into the template javascript directory. On the index page of the template (<joomla_root_dir>/templates/<template_name>/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. <head> <?php $pack->genHeader(); $pack->genJS(); ?> </head>
livathinos/tidy
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.
PHP