[Magento] Ajouter un agencement (template) de page

Homepage - Gabarit - Magento

Les templates de bases sous Magento sont assez restreint : Vide 1 colonne (1column.phtml) 2 colonnes – Sidebar à gauche (2columns-left.phtml) 2 colonnes – Sidebar à droite (2columns-right.phtml) 3 colonnes (3columns.phtml) Ces templates se trouvent dans : /app/design/frontend/{votre_interface}/{votre_theme}/template/page Problème : Si sur la page d’accueil (ou sur toutes les pages du site, peu importe), vous [...]

De l’Ajax dans Magento

Petit tutoriel sur l’utilisation d’Ajax dans Magento à l’aide de Prototype. Dans cet exemple nous allons modifier le système d’inscription à la newsletter afin de gérer l’ajout d’un nouvel e-mail en Ajax.

Creating Custom Layout Handles

In this tutorial we will explore our journey through Magento’s layout XML further by showing how we can easily create our own custom layout handles to target specific conditions and scenarios.

5 useful tricks for your Magento local.xml

tidy magento layout

Working on a new Magento theme often involves manipulating the default layout from the base or another supplied Magento theme. Instead of copying and overriding the individual layout XML files from the source theme, we can use the local.xml file to contain all our customizations, keeping things tidy and more upgradable.

Updates for Aoe_Scheduler, Aoe_TemplateHints and Aoe_CacheCleaner

Last Week I’ve put all my free Magento modules on Github. That was a good idea as I already got two contributions to my modules.
I’ve decided to go on with Github and will manage all my package downloads there. There will be tags for all versions (vX…

Add Your Own Widget Templates To Widget Options

widget-templates-default

Do you need to add more custom template options to the default Magento Widgets template option? This is a quick and easy tip to show you how.

Magento ajouter un nouveau block

Il est parfois judicieux de rajouter un bloc dans la structure de page magento. Les pages de structures (Les page 2columns-left; right….. ) présente dans magento ne permettent pas de faire tous les agencements que l’ont veut. Nous avons vu…

Quick Tip: Template Hints for the Magento Admin Area

When developing themes for the front-end Magento has included an easy way to show you which file you need to edit: Template Path Hints (enable it via System >…

 Continue →

Digging Deeper Into Magento’s Layout XML – Part 2

After discussing the basics of the Magento Layout XML elements and an overview of the template rendering process, in part 2 we will explain both in some more detail and present some techniques to perform more advanced layout actions out of the box. This article should give you an idea about the power and flexibility of Magento’s implementation of its layout engine. Continue →

Activer les path hints Magento

Cette astuce est incontournable lorsque l’on travaille sur un nouveau thème Magento et permet d’identifier les différents blocs et templates utilisés sur une page du site. Lire la Suite

Magento Tip: Manually Set Grid and List Defaults

You’ve updated the catalog settings in Magento’s administration panel, but your changes aren’t taking effect on the frontend. What could be wrong? I’ll explain in this quick Magento development tip.

The scenario is both very common and very frustratin…

Demystifying Magento’s Layout XML – Part 1

One of the fundamental areas a Magento designer and developer needs to become very intimate with is understanding the layout XML files that control what a Magento site displays. This is the first part of a series of articles that will attempt to demystify the layout XML. Continue →

Inclure un template depuis une page CMS Magento

On a vu, dans un autre billet, comment inclure un block statique dans une page CMS de Magento. La synthaxe est différente lorsque vous voulez inclure un template un fichier.
En effet, Magento permet d’appeler des fichiers HTML ou PHTML qui sont situés à l’intérieur de votre template Magento. Si, par exemple, vous avez [...]

Adding Static Blocks in Magento Template Files

Ecd-magento-logo-3_thumb

In Magento, static blocks are short snippets of HTML that can be called from template pages.

Static blocks are an excellent way to add sidebar content, manage category banners, or even add content sliders to a site’s home page, category pages, or prod…