Magento layout xml conditions

This is a no-brainer module, but still extremly useful and of the features where I’m thinking: Why didn’t Magento implemented this into the core in first place? Aren’t others missing this feature? And as I’m going to use this over and over again across…

[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.

Quick Tip: Conditional Loading of JavaScript and CSS Using Your Module Configuration

It’s really easy to create conditional JavaScript and CSS includes for your custom modules using module configuration parameters. Read on to see how.

Originally published on magebase.com. Copyright © 2011 Magebase – All Rights Reserved.

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.

Magento CMS syntax – part2

Every Magento user noticed that there is special {{magentocode}} syntax available in cms pages and static blocks. We traced a bit to find out which params are available and what exactly they do. Magento CMS syntax – part1 is first …

Read more

Advanced layout updates for categories and products in Magento

Recently I had a task to modify sorting in only one category of Magento shop. What I had to do is “only” to change which attribute will be used for default sorting and I needed to reverse ordering from ascending …

Read more

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…

How to update layout of your custom controller in Magento

When you work with custom (your own) controllers in Magento, either frontend or backend, you will probably also use existing blocks and models or if needed write your own classes. But what happens if you want to or have exigency to move/remove common blocks? Can you really “design” your own page view without touching Cascading [...]

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 →

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…