Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
theme system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 May 2010 at 00:12 UTC
Updated:
21 Nov 2010 at 14:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
sunI seriously was under the impression that this is Drupal 4.7 stuff and no longer possible.
Everyone uses some engine. Almost everyone uses PHPTemplate, a minority uses Smarty. But Chameleon is most probably the only existing theme that uses no engine.
Comment #2
jacineSweet! The awesome thing about this is that it doesn't affect existing themes (in contrib). They all already have phptemplate = engine specified, and making it a default doesn't affect that at all. It's great because now you only need 2 lines in a .info file to create a theme: name and core version.
Yay for simplicity and for not exposing unnecessary complicatedness to themers for something that is done 99.9% of the time! :D
Here's an updated patch that removes the entry from themes.
Comment #3
sunNicey.
Comment #4
dries commentedCommitted to CVS HEAD. Thanks.
Comment #5
jacineSweet! Thanks :)
I added docs: http://drupal.org/update/theme/6/7#engine
Comment #6
moshe weitzman commentedNice ... To be honest, we could rip out the engine functionality in D8. It is virtually never used. Keeping around unused abstractions hurts DX.