预览模式: 普通 | 列表

magento 布局原理解析(Anatomy of Layout)

Magento中的布局(Layout)包含一小部分的标记集合,作为详细说明关于程序如何建立一个页面,如何建立它的行为和每个构建的区块。最佳的布局途径是在每个角度正确的划分和使用。为了让您能够做到这一点,下面是一些行为特性的布局XML标记。
句柄(Handle)

Handle (图1)是一个标识符,决定应用程序要如何通过嵌套的更新处理它。

查看更多...

Tags: magento

分类:Web | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 14

magento之Class Mage_Page_Block_Html_Header

 Located in /Page/Block/Html/Header.php (line 34)

Varien_Object
   |
   --Mage_Core_Block_Abstract

查看更多...

Tags: magento

分类:Web | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 17

magento 帮助文档

1. Class Mage_Page_Block_Html_Header

查看更多...

Tags: magento

分类:Web | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 21

magento 分析page.xml

通过上文的述说,我们对magento有一点基础的了解,现在我们从magento默认的安装的文件来进一步学习模块布局文件:

程序代码 程序代码

<?xml version="1.0"?>
<!--

查看更多...

Tags: magento

分类:Web | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 26

Magento模板设计 建立主题的步骤

下面是Magento提供的建立主题的工具:

   1. 模板(Templates)
   2. 布局(Layouts)
   3. 区块(Blocks)

查看更多...

Tags: magento

分类:Web | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 22

升级你的模板,让Magento1.4用上以前的模板

Upgrading your existing theme (modern or else)

Obviously I cannot cover here all the possible problems and issues that may arise when upgrading your particular template to be compatible with Magento 1.4. However, I found that the most common issue is “Categories not working after upgrading to 1.4″. This relates to the error people get when clicking on some categories: “Error processing your request” followed by a number.

To fix that, you’ll need to do 2 things:

查看更多...

Tags: magento

分类:Web | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 20

How to install magento free themes

Well you’ve finally decided you’re going to switch to Magento for building ecommerce website. While new versions of Magento coming up regularly make the learning curve easier to climb, be prepared for at least a few days before you can use magento’s features to its best. This article explains the few tricks and tips that will start you off with variations on the basic design of magento’s default installation.

The first thing to do after you’ve installed Magento is to check out the files in skin/frontend/default : you won’t find much here except the stylesheet and a few images. This is the directory of your frontend but you should read carefully the concepts behind Magento’s implementation of design and layout. Much more complex than the usual single folder theme system one can find in wordpress for instance, Magento’s design process works with four types of instances :

    * Layout ( app/design/frontend/your_interface/your_theme/layout/)

查看更多...

Tags: magento

分类:Web | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 17

magento 模板主题安装

注意区分“主题包”和“主题文件”这两个概念。我们所使用的主题在“主题文件”中,“主题包”中可以含有多个主题文件

###### 认识magento主题第一步

首先我们来看下magento主题文件的存放规则

查看更多...

Tags: magento

分类:Web | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 25
????