magento -- 使用translate.csv来修改翻译
一般Magento的语言包都是指/app/locale目录下的文件夹,以中文包为例,/app/locale/zh_CN下的所有文件就是中文语言包的全部内容(具体可见从http://www.magentochina.org/bbs/下载的Magento汉化包)。 细 心地人可能会发现,除了这里有csv文件,在模板文件目录下 也有一个locale文件夹,这里同样有个文件名为translate.csv的csv文件 (在各自语言文件夹下,比如默认在locale下就只有一个 en_US文件夹,里面自带一个translate.csv文件)。 现在我们 来做个实验,在你所使用的模板目录下/app /design/frontend/default/default/locale(这里以default ......
magento blog and tutorials
Magento Tutorials, Tips and Extensions - For Developers by Developers http://magebase.com/category/magento-tutorials/ ......
Demystifying Magento’s Layout XML – Part 1
Demystifying Magento’s Layout XML – Part 1 By Paryank Kansara on September 28, 2010 / 32 Comments The ‘View’ of Magento’s MVC pattern implementation is divided in two parts: Layout and Template. The template represents a HTML block while layout defines the location of the block on a web page. Magento provides ultimate flexibility and re-usability of design by layouts defined in XML. Layout XML Layout XML files can be found in app/design/frontend/[package]/[theme]/layout. Each Magento module may define its own layout XML file in the config.xml file.......
Digging Deeper Into Magento’s Layout XML – Part 2
Digging Deeper Into Magento’s Layout XML – Part 2 By Paryank Kansara on November 30, 2010 / 14 Comments In the first part of this series, we discussed the basics of Layout XML elements and gave an overview of the rendering process. In part 2, we are going to discuss both in some more detail and present some techniques to perform more advanced layout actions out of the box. First, let’s explain a few terms that are frequently used in this article: MVC Action: MVC action is nothing but a method defined in a controller class and mapped with the requested URL. For exam......
Magento Knowledge
Magento Knowledge by Aland Hou 一,Magento 模块初始化 1,magento apache服务器安装及配置 (1)apache,php,mysql的安装 sudo apt-get install apache2 sudo apt-get install php5 sudo apt-get install php5-curl /sudo apt-get install php-curl(php7) sudo apt-get install phpmyadmin sudo apt-get install mysql-server sudo apt-get install mysql-client sudo apt-get install subversion sudo apt-get install flashplugin-nonfree (2)配置host sudo gedit /etc/hosts 将以下代码加入hosts里,也可以将其他域名加入 ......
高级应用Magento-订单创建流程及程序代码
老规矩,直接看代码吧。下面的代码是如何通过程序创建一个完美订单。 <?php require_once 'app/Mage.php'; Mage::app('default');//初始化程序,设置当前店铺 $store = Mage::app()->getStore('default'); //通过电子邮件获取用户,当然也可以不获取,创建guest订单 $customer = Mage::getModel('customer/customer'); $customer->setStore($store); $customer->loadByEmail('email_address@gmail.com'); //初始化Quote,Magento的订单是通过Quote来转化过去的 $quote =......
Magento2
文章前面我要说明,Magento2.0和1.X是完全不同的两个版本.简单来说,magento2.0完全是重构的.完全的不同,彻底的不同.记住哦,这是magento贰 git获得magento2源码:https://github.com/magento/magento2 magento2官方wiki页面:http://mage2.magentocommerce.com/wiki 以下介绍来自Magento俄罗斯开发大会的PDF资料(俄文和英文)和其他相关blog. 一.完全不同的文件结构 简化了Magento的文件结构,pub下面把可访问文件都包含了进去.增强了安全性.文件结构也更加的简介. 二.Only jquer......
How to overload a controller,magento controller rewrite,重写
How to overload a controller Last modified by demonkoryu on Tue, January 10, 2012 08:43 Source|Old Revisions Table of Contents How to overload a controller 1. Create your module folders and files 2. Edit /etc/config.xml 3. Edit ''controllers/Checkout/CartController.php'' 4. Edit ''app/etc/modules/MyNameSpace_All.xml'' ......
magento 性能优化
公司的magento网站实在是太慢了,想了好多办法,参考了好多资料,做了很多测试,总结一下大概的步骤如下: 1.压缩js,css代码,如果有必要把所有的css,js分别综合到一个文件中,并压缩缓存. 2.清除magento模板中不必要的注释,为所使用到的图片瘦身. 3.优化magento代码,这个步骤工作量大,但可能是效果显著的步骤,不过前提是你非常熟悉magento,彻底删除不用的模块,关闭没用的 block, 清除无效,无用的xml(解析xml非常昂贵的),在一个页面中尽量不要大量调用magento的image ......
Magento Database Repair Tool
Magento Database Repair Tool Last modified by mediashort on Mon, March 14, 2011 23:43 Edit this page|Old Revisions Table of Contents Magento Database Repair Tool Usage Instructions Crash-course for the impatient Test it before running on a Production Environment! Step-by step The Database Repair ......
- Page:23/146 1451 Blogs
周日 | 周一 | 周二 | 周三 | 周四 | 周五 | 周六 |
文章分类
- 默认(751)
- 日志(47)
- 感悟(15)
- testIT(4)
- PHP_XML(5)
- PHP(78)
- 明星(1)
- 笑话(31)
- 毕业论文(2)
- 生活(60)
- HTML(11)
- CSS(6)
- 考研(3)
- JS(21)
- 简历(6)
- svn(3)
- 音乐(1)
- 学习(7)
- jQuery(9)
- 英语口语(9)
- 书籍(2)
- magento(258)
- apache(12)
- 创意(4)
- 设计(4)
- 休闲(1)
- IT咨询(11)
- 工作(23)
- ubuntu(21)
- bysoft(1)
- zend(1)
- web(2)
- software(1)
- sql(5)
- 娱乐(5)
- photoshop(3)
- zend framework(2)
- nginx(3)
- 小说(1)
- 名言(1)
- 牛人(1)
- Mysql(6)
- vim(2)
- wordpress(8)
- drupal(1)