magento分类下的博客

Magento错误-Call to undefined method Mage_Adminhtml_Block_Widget::getrowurl() in app\code\core\Mage\Adminhtml\Block\Widget\Grid.php on line 1607

piaoling  2011-05-18 18:40:49

Fatal error: Call to undefined method Mage_Adminhtml_Block_Widget::getrowurl() in [magentohome]/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php on line 1607 从Magento 1.4.0.1导出产品csv文件后,要导入到Magento 1.4.2.0的时候,在上传csv文件,保存提交后报这错误。 解决办法:修改 app/code/core/Mage/Core/Block/Template.php 这个文件,在319行后面加入函数getRowUrl,如: public function getRowUrl($row) {         return $this->getUrl('*/*/edit', array('instance_id' => $row->getId()));  } 清缓存重新试......

类别 :  magento(258)  |  浏览(3085)  |  评论(0)

magento 转换网站

piaoling  2011-05-16 14:58:30

<?php /**  * Magento  *  * NOTICE OF LICENSE  *  * This source file is subject to the Open Software License (OSL 3.0)  * that is bundled with this package in the file LICENSE.txt.  * It is also available through the world-wide-web at this URL:  * http://opensource.org/licenses/osl-3.0.php  * If you did not receive a copy of the license and are unable to  * obtain it through the world-wide-web, please send an email  * to license@magentocommerce.com so we can send you a copy immediately.  *  * DISCLAIMER  * ......

类别 :  magento(258)  |  浏览(3440)  |  评论(0)

invalid website

piaoling  2011-05-13 19:18:21

http://freegento.com/doc/d5/d00/class_mage___core___model___app.html ......

类别 :  magento(258)  |  浏览(2755)  |  评论(0)

Invalid website id requested.

piaoling  2011-05-13 18:38:02

http://www.magentocommerce.com/boards/05/08/viewthread/217279/#t296715   I get this error every time I do anything with my products.  I had two stores but then figured out I only needed one. So I went through and set all the products to one store and deleted it.  Now I get this error and it also gives me an error in my indexing.  The Product Flat Data just shows processing. This is all new to me so I’m learning as I go.   ......

类别 :  magento(258)  |  浏览(25703)  |  评论(1)

Magnto获取当前店铺和店铺配置的方法

piaoling  2011-05-13 15:09:53

开发中常常用到获取当前店铺的ID或者获取当前店铺的配置。其实非常的简单,看代码: 1、获取店铺 $store = Mage::app()->getStore(); 你可以print一下$store,它是Mage_Core_Model_Store对象,获取数据可以通过下面代码获取 $store = Mage::app()->getStore()->getData(); 2、获取当前店铺配置的配置 $value = Mage::app()->getStore()->getConfig($path) 很简单。。。 http://www.magentoex.net/archives/984 ......

类别 :  magento(258)  |  浏览(3332)  |  评论(0)

动态菜单

piaoling  2011-05-12 19:02:51

http://sauvel.uat-magento.lan-guanghzou.bysoft.fr/ ......

类别 :  magento(258)  |  浏览(2929)  |  评论(0)

magento获取当前路径

piaoling  2011-05-12 17:36:25

有时候我们需要获取当前路径来做一些事情,不废话了,直接上代码 01 <?php 02 $urlRequest = Mage::app()->getFrontController()->getRequest(); 03 $urlPart = $urlRequest->getServer('ORIG_PATH_INFO'); 04 if(is_null($urlPart)) { 05 $urlPart = $urlRequest->......

类别 :  magento(258)  |  浏览(3131)  |  评论(0)

Magento 开发者资源

piaoling  2011-05-12 14:14:47

自己学习Magento也有一段时间了,收获还是蛮多的,下面向大家推荐一些Magento的学习资源 ----推荐学习网站:Magento中文版官方网站-http://www.magentochina.org   国外Magento酷站欣赏: 1.http://inchoo.net/category/portfolio/ 这里有一些非常酷的Magento成功案例 2.http://www.magento-developer.co.uk/magento-developer-projects.html   1.Magento相关的图书   The Official Magento User Guide - Buy: http://www.magentocommerce.com/support/magento-user-guide-book - Community ......

类别 :  magento(258)  |  浏览(3238)  |  评论(0)

product viewed

piaoling  2011-05-12 14:11:40

<block type="reports/product_viewed" name="my.reports.product.viewed" template="reports/product_viewed.phtml"/>   ......

类别 :  magento(258)  |  浏览(3018)  |  评论(0)

Magento 架构(Architecture)

piaoling  2011-05-12 13:27:04

本节介绍Magento的架构,包括 1).请求响应流程图 2).magento各模块间的依赖关系 3).Magento数据库设计   一。Magento系统请求响应流程图   下面是具体请求步骤分析 用户向浏览器发出请求(高级话题:What really happens when you navigate to a URL) 浏览器向magento所在的服务器发出请求,magento的Controllers捕捉该请求并分发(实例:Magento Controller Dispatch and Hello World) Controller使用Oject Models,此时Magento的Model开始config(加载config.xml,system.xml,......

类别 :  magento(258)  |  浏览(3273)  |  评论(0)
  • Page:17/26  258 Blogs
    <<
    >>
    20088
    周日 周一 周二 周三 周四 周五 周六

    文章分类