Gang,<br><br>Every tpl.php file that I've seen in any theme is written in html with php interspersed for putting in variables. I think part of the reasoning for this approach is that it would be easier for non-geek designers to read such pages.<br>
<br>I want to challenge that. I think all those php open-close and all the "print" commands makes for very hard-to-read code. Tonight, as an experiment, I rewrote the node.tpl.php file from Zen from html to php. I think it is a lot easier to read. And it's sure a lot easier to comment.<br>
<br>I pasted my rewritten version and the original from Zen onto a pastebin:<br><a href="http://pastebin.ca/1614186">http://pastebin.ca/1614186</a><br><br>Anyway, I'd be curious what other's opinions are on this.<br>
<br>best,<br><br>Shai<br>