Awesomengine

cwgordon7 - July 3, 2008 - 07:58

Awesomengine is the most awesome engine. It allows for embedding of PHP code, not only in html templates, but in css files, allowing for dynamically set CSS. Otherwise, it is nearly entirely identical to the phptemplate theme engine.

An example of the embedded PHP in CSS:

body {
  color: <?php print $text_color ?>;
  background: <?php print $bg_color ?>;
}

a {
  color: <?php print $link_color ?>;
}

#left {
  float: left;
  width: <?php print $sidebar_width ?>;
  padding-left: 10px;
  padding-right: 10px;
  background: <?php print $left_sidebar_color ?>;
}

The possibilities are endless, and, of course, truly awesome.

Releases

Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2008-Jul-037.76 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.