Magento错误-Call to undefined method Mage_Adminhtml_Block_Widget::getrowurl() in app\code\core\Mage\Adminhtml\Block\Widget\Grid.php on line 1607
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 转换网站
<?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 * ......
invalid website
http://freegento.com/doc/d5/d00/class_mage___core___model___app.html ......
Invalid website id requested.
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. ......
Magnto获取当前店铺和店铺配置的方法
开发中常常用到获取当前店铺的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获取当前路径
有时候我们需要获取当前路径来做一些事情,不废话了,直接上代码 01 <?php 02 $urlRequest = Mage::app()->getFrontController()->getRequest(); 03 $urlPart = $urlRequest->getServer('ORIG_PATH_INFO'); 04 if(is_null($urlPart)) { 05 $urlPart = $urlRequest->......
Magento 开发者资源
自己学习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 ......
product viewed
<block type="reports/product_viewed" name="my.reports.product.viewed" template="reports/product_viewed.phtml"/> ......
Magento 架构(Architecture)
本节介绍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,......
- Page:17/26 258 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)