| 1 |
|
$Id$ |
| 2 |
|
|
| 3 |
******************************************************************** |
******************************************************************** |
| 4 |
D R U P A L THEME ENGINE |
D R U P A L THEME ENGINE |
| 5 |
******************************************************************** |
******************************************************************** |
| 6 |
Name: phptal |
Name: phptal |
| 7 |
Version: 3.0 |
Version: 4.0 |
| 8 |
Author: Olav Schettler |
Author: Robert Fleming |
| 9 |
Email: olav-phptal at contaire dot net |
Last update: September 27, 2009 |
| 10 |
Last update: 02 February 2007 |
Drupal: 6.x |
|
Drupal: 5.x |
|
| 11 |
|
|
| 12 |
******************************************************************** |
******************************************************************** |
| 13 |
DESCRIPTION: |
DESCRIPTION: |
| 14 |
|
|
| 15 |
This is a theme engine for Drupal 5.x, which allows the use |
This is a theme engine for Drupal 6.x, which allows the use |
| 16 |
of templates written in the PHPTAL language. This engine is a nearly |
of templates written in the PHPTAL language. If you don't know much |
| 17 |
one-to-one copy of the phptemplate engine, just replacing the underlying |
about PHPTAL, then I suggest that you visit: <http://www.phptal.org/>. |
| 18 |
template engine with the one from <http://phptal.sourceforge.net/>. |
They have a very handy manual at: <http://phptal.org/manual/en/>. |
| 19 |
|
|
| 20 |
To be used, the engine needs an installation of PHPTAL in this directory. |
This template engine has been re-written from scratch and will hopefully |
| 21 |
It was developed using PHPTAL 1.1.4 stable. |
help the many people who have long desired a good port of PHPTAL to Drupal 6! |
| 22 |
|
Many thanks to Olav for his work on the Drupal 5 version which served as a |
| 23 |
|
study help for me! I have included some of his comments below... |
| 24 |
|
|
| 25 |
I believe that this engine provides the same advantage of a combined |
I believe that this engine provides the same advantage of a combined |
| 26 |
push/pull approach for dynamic content as PHPtemplate but at the same |
push/pull approach for dynamic content as PHPtemplate but at the same |
| 32 |
Simmons for PHPTemplate, ported to PHPTAL and renamed to tal_gray. |
Simmons for PHPTemplate, ported to PHPTAL and renamed to tal_gray. |
| 33 |
|
|
| 34 |
A complete documentation on the PHPTAL template language can be found |
A complete documentation on the PHPTAL template language can be found |
| 35 |
at <http://phptal.sourceforge.net/>. There you also find links to the |
at <http://www.phptal.org/>. There you also find links to the |
| 36 |
many resources for the Python-based TAL implementation. |
many resources for the Python-based TAL implementation. |
| 37 |
|
|
| 38 |
******************************************************************** |
******************************************************************** |
| 39 |
SYSTEM REQUIREMENTS: |
SYSTEM REQUIREMENTS: |
| 40 |
|
|
| 41 |
Drupal: Drupal 5.x |
Drupal: Drupal 6.x |
| 42 |
|
|
| 43 |
******************************************************************** |
******************************************************************** |
| 44 |
INSTALLATION: |
INSTALLATION: |
| 45 |
|
|
| 46 |
The recommended installation for PHPTAL is to use the Pear module. |
To use this engine go to <http://phptal.org/download.html> and download |
| 47 |
This approach is explained on the PHPTAL page at |
the latest tarball or zip file. Then unzip the file and copy all the |
| 48 |
http://phptal.motion-twin.com/. |
contents of the file it unzips into the directory this Readme file is |
| 49 |
|
in. Your directory should look something like this: |
| 50 |
|
|
| 51 |
|
+phptal |
| 52 |
|
-+PHPTAL (Folder) |
| 53 |
|
--phptal.engine |
| 54 |
|
--COPYING |
| 55 |
|
--README |
| 56 |
|
--PHPTAL.php |
| 57 |
|
--LICENSE.txt |
| 58 |
|
--README.txt (The file you are currently reading) |
| 59 |
|
|
| 60 |
Download and install the tal_gray theme. |
Note: This engine was developed using PHPTAL 1.2.0 stable. |
| 61 |
|
|
| 62 |
******************************************************************** |
******************************************************************** |
| 63 |
SPECIAL THANKS : |
SPECIAL THANKS : |
| 64 |
|
|
| 65 |
Laurent Bedubourg for his implementation of PHPTAL. |
Laurent Bedubourg for his implementation of PHPTAL. |
| 66 |
|
Olav Schettler for providing us with the Drupal 5 version of this theme engine. |
|
******************************************************************** |
|
|
******************************************************************** |
|
|
|
|
|
This directory also contains a port of the andreas01 design |
|
|
by Andreas Viklund. This was previously available as the 'olav' theme |
|
|
but has been made the default theme for the phptal.engine now. |
|