/[drupal]/contributions/modules/active_template/README.TXT
ViewVC logotype

Contents of /contributions/modules/active_template/README.TXT

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Jul 14 02:10:24 2008 UTC (16 months, 1 week ago) by collectivecolors
Branch: MAIN
CVS Tags: DRUPAL-5--1-1, DRUPAL-5--1-0, HEAD
Branch point for: DRUPAL-5--2
File MIME type: text/plain
*** empty log message ***
1 // $Id$
2 ****************************************************************************************************
3 ****************************************************************************************************
4 ** **
5 ** Module : Template API **
6 ** By : Collective Colors [ http://collectivecolors.com ] **
7 ** **
8 ****************************************************************************************************
9 ****************************************************************************************************
10
11 Template API contains shared functionality for defining Javascript enabled templates to Drupal
12 content displays. We have currently only implemented these templates for views output, but we have
13 plans to integrate these templates with Taxonomy output and Nodes as well (as time permits). This
14 would be an alternative to the contemplate module, which we use a lot and really, really like. In
15 fact, contemplate inspired the development of this module. Why replace the great contemplate, you
16 ask? Good question. We envision this module serving a common interface to different types of
17 custom templates, not just nodes. Also, we want a template that can accept Javascript and CSS
18 (without embedding the code directly in the PHP template) so that the template can create dynamic
19 content displays that can operate independently of site themes.
20
21 This module can optionally pack the Javascript file with a Packer library that can be downloaded
22 from: http://joliclic.free.fr/php/javascript-packer/en. We can not include this file within the
23 module because it uses the LGPL 2.1 license instead of Drupals required GPL license. Packing the
24 Javascript file can save some bandwidth so you might want to consider using it, especially if you
25 have more comprehensive Javascript in your templates. Just place the downloaded
26 'class.JavaScriptPacker.php' file into the top level active_template directory and your Javascript
27 will be packed before it is injected into the HTML header.
28
29 This module provides no administrative interface and is only used by other modules. Currently the
30 only module in this collection is Active View which creates templates for views output, which we
31 needed for a contract.
32
33 For more detailed documentation see the README.TXT under the active_view directory.

  ViewVC Help
Powered by ViewVC 1.1.2