|
Bonjour,
Merci pour votre réponse, j’ai suivie le guide du designer et j’ai crée les fichier .phtml, page.xml et j’ai mis le dossier de mon thème dans respectivement :
C:\wamp\www\touch\app\design\frontend\default\monTheme
C:\wamp\www\touch\skin\frontend\default\monTheme
Tout fonctionne j’arrive à voir mon design mais le problème c’est que je ne comprends pas le fonctionnement du catalogue comment l’afficher, quel code faut-il écrire afin de l’afficher dans la page d’accueil.
Pour être plus préci quelle balise fait appel au catalogue, catégorie et produit.
Voici mon fichier 1column.phtml :
<body <?php echo $this->getBodyClass()?'class="'.$this->getBodyClass().'"':'' ?>>
<div id="wrapper">
<!-- start header -->
<div id="header">
<?php echo $this->getChildHtml('header') ?>
</div>
<!-- end header -->
<!-- start middle -->
<div id="mainContent">
<!-- start content -->
<?php echo $this->getChildHtml('content') ?>
<!-- end content -->
</div><!-- end div #mainContent -->
<!-- END MAIN CONTENT -->
<!-- BEGIN SIDEBAR CONTENT -->
<div class="sidebar">
<?php echo $this->getChildHtml('sidebar') ?>
<?php //echo $this->getLayout()->createBlock('cms/block')->setBlockId('sidebar')->toHtml() ?>
</div>
<!-- END SIDEBAR CONTENT -->
<div class="clear"></div>
<!-- BEGIN FOOTER CONTENT -->
<div id="footer">
<?php echo $this->getChildHtml('footer') ?>
</div>
<!-- END FOOTER CONTENT -->
<?php echo $this->getChildHtml('before_body_end') ?>
</div>
<?php echo $this->getAbsoluteFooter() ?>
</body>
</html>
|