This is actually the smarty theme system to a tee.&nbsp; See:<br><br>
<a href="http://smarty.php.net/crashcourse.php">http://smarty.php.net/crashcourse.php</a> and scroll down to &quot;index.tpl&quot;.<br><br>I actually find smarty much more intuitive.&nbsp; Common excuses:<br><br><span style="font-weight: bold;">
But you can't have control structures:</span><br><a href="http://smarty.php.net/manual/en/language.function.if.php">http://smarty.php.net/manual/en/language.function.if.php</a><br><a href="http://smarty.php.net/manual/en/language.function.section.php">
http://smarty.php.net/manual/en/language.function.section.php</a><br><a href="http://smarty.php.net/manual/en/language.function.foreach.php">http://smarty.php.net/manual/en/language.function.foreach.php</a><br><br><span style="font-weight: bold;">
But you can't get advanced variables from Drupal:</span><br><a href="http://smarty.php.net/manual/en/language.variables.php">http://smarty.php.net/manual/en/language.variables.php</a><br><br><span style="font-weight: bold;">
But you can't run PHP code/But it's not powerful enough:</span><br><a href="http://smarty.php.net/manual/en/language.function.php.php">http://smarty.php.net/manual/en/language.function.php.php</a><br><br><span style="font-weight: bold;">
But you can't include files:</span><br><a href="http://smarty.php.net/manual/en/language.function.include.php">http://smarty.php.net/manual/en/language.function.include.php</a><br><a href="http://smarty.php.net/manual/en/language.function.include.php.php">
http://smarty.php.net/manual/en/language.function.include.php.php</a><br><br><span style="font-weight: bold;">But it's hard to do formatting:</span><br><a href="http://smarty.php.net/manual/en/language.modifiers.php">http://smarty.php.net/manual/en/language.modifiers.php
</a><br><br><span style="font-weight: bold;">But the theme engine isn't kept up to date:</span><br><a href="http://drupal.org/project/smarty">http://drupal.org/project/smarty</a><br>
<br>
Robin<br><br><div><span class="gmail_quote">On 6/23/06, <b class="gmail_sendername">Farsheed</b> &lt;<a href="mailto:tfarsheed@yahoo.com">tfarsheed@yahoo.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>In order to minimize the php code seen by a themer, I<br>was wondering what people thought of making simple<br>aliases for basic printouts of phptemplate variables.<br>The phptemplate engine would go in and find these
<br>aliases and convert them to their actual values.<br><br>BEFORE:<br>&lt;?php print $content ?&gt;<br>&lt;?php print $sidebar_left ?&gt;<br><br>AFTER:<br>{$content}<br>{$sidebar_left}<br><br>Just looking to reduce the amount of potentially
<br>intimidating code for new themers. Of course regular<br>PHP should still work.<br><br>Farsheed<br><br><br><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?&nbsp;&nbsp;Yahoo! Mail has the best spam protection around
<br><a href="http://mail.yahoo.com">http://mail.yahoo.com</a><br>_______________________________________________<br>themes mailing list<br><a href="mailto:themes@drupal.org">themes@drupal.org</a><br><a href="http://lists.drupal.org/mailman/listinfo/themes">
http://lists.drupal.org/mailman/listinfo/themes</a><br></blockquote></div><br><br clear="all"><br>-- <br>Robin Monks,<br>CivicSpace Release Engineer - <a href="http://civicspacelabs.com">http://civicspacelabs.com</a><br>Drupal Marketing Coordinator - 
<a href="http://drupal.org">http://drupal.org</a><br>Encrypt! <a href="http://tinyurl.com/ffo3l">http://tinyurl.com/ffo3l</a> - <a href="http://www.gpg4win.org/">http://www.gpg4win.org/</a>