-

Basic phptemplate theme creation process

<p>themes are defined by the following steps</p><ul style="margin-left: 40px; "><li>creating a theme directory such as <strong>mytheme/</strong></li><li>adding a theme.info to the theme directory&nbsp;<strong>mytheme/mytheme.info</strong></li><li>adding files you want to override:<ul><li><strong>page.tpl.php</strong> - template for the whole page</li><li><strong>block.tpl.php</strong> - template used to display all blocks</li><li><strong>comment.tpl.php</strong> - template used to display comments</li><li><strong>node.tpl.php</strong> - template used to display each node</li></ul></li><li>in addition, you can add a node number to each of these template name to specify a specific node name.<ul><li><strong>page--1.tpl.php</strong> - will change the page template only for page 1</li><li><strong>comment--1.tpl.php </strong>- will change the template for the first comment</li></ul></li></ul>