Active
Project:
PHPTAL theme engine
Version:
5.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2007 at 10:24 UTC
Updated:
15 Feb 2008 at 06:52 UTC
Is it possible to mix several template engines on the same drupal site? I'm using the Garland theme and need continue using it, and right now, there is no Garland port to PHPTAL. But I would like to try out PHPTAL to just theme some CCK node types.
Comments
Comment #1
olav commentedJörg,
the answer is an unfriendly "no!", I'm afraid. At least not out of the box.
It might be possible to write phptemplate functions to wrap a TAL template file, though.
To have something like in your template.php this might work (untested):
I would be interested to hear about your experience with this.
-- Olav
Comment #2
dvessel commentedNot sure about 5 but in 6 it's definitely possible by setting up your render function to detect the extension then pass it off to various rendering routines.