我正在学习如何通过以下教程创建自定义扩展,http://www.pierrefay.fr/category/developpement/magento
当我尝试打开扩展程序管理员时,我得到了 Fatal error: Class 'Mage_Test_Helper_Data' not found in /var/www/html/dev/app/Mage.php on line 520
但我认为我没有在扩展中的任何地方使用帮助类.欢迎您提出建议.
这是我的config.xml文件
<?xml version="1.0"?>
<config>
<modules>
<Package_Test>
<version>1.0.0</version>
</Package_Test>
</modules>
<frontend>
<routers>
<routerfrontend>
<use>standard</use>
<args>
<module>Package_Test</module>
<frontName>test</frontName>
</args>
</routerfrontend>
</routers>
<layout>
<updates>
<test>
<file>test.xml</file>
</test>
</updates>
</layout>
</frontend>
<admin>
<routers>
<test>
<use>admin</use>
<args>
<module>Package_Test</module>
<frontName>admintest</frontName>
</args>
</test>
</routers>
</admin>
<adminhtml>
<layout>
<updates>
<test>
<file>test.xml</file>
</test>
</updates>
</layout>
<menu>
<test translate="title" module="adminhtml">
<title>My Module</title>
<sort_order>100</sort_order>
<children>
<items module="Test">
<title>Address Book</title>
<action>admintest/adminhtml_index</action>
</items>
</children>
</test>
</menu>
</adminhtml>
<global> …
Run Code Online (Sandbox Code Playgroud) 我在Debian 6中安装了vim.我正在尝试更改颜色方案并启用语法突出显示.但它不起作用.我set background=dark
在.vimrc
文件中添加了.但是白色背景正在显示.我想知道出了什么问题?
这是我的.vimrc
文件:http://pastebin.com/8k2gpWDh
我安装了深色背景的robokai colorscheme.但背景看起来是白色而不是黑暗.其他颜色的colorscheme工作.
如何将"已启用","无"设置为管理员中"状态","税级"字段的默认值?
在Magento中,如果在分层导航中选择"颜色"属性,"颜色"的值将自动消失并显示结果.如何检索所选过滤器的名称?
我在windows中使用gvim.默认的nerdtree默认加载C:\驱动器.我喜欢将它更改为E:\ drive.如何实现这一目标?
每当我尝试使用NERDTree命令启动NERDTree时,我都会收到此错误 E492: Not an editor command: NERDTree
当我尝试重新索引产品平面数据时,我得到There was a problem with reindexing process.
数据库修复没有帮助.Exception.log文件显示此错误
2011-08-29T11:54:05+00:00 DEBUG (7): Exception message: SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs
Trace: #0 /home/sites/www.domain.com/lib/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/sites/www.domain.com/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/sites/www.domain.com/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('ALTER TABLE `ca...', Array)
#3 /home/sites/www.domain.com/lib/Varien/Db/Adapter/Pdo/Mysql.php(337): Zend_Db_Adapter_Pdo_Abstract->query('ALTER TABLE `ca...', Array)
#4 /home/sites/www.domain.com/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Flat/Indexer.php(652): Varien_Db_Adapter_Pdo_Mysql->query('ALTER TABLE `ca...')
#5 /home/sites/www.domain.com/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Flat/Indexer.php(122): Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Flat_Indexer->prepareFlatTable('1')
#6 /home/sites/www.domain.com/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Flat/Indexer.php(115): Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Flat_Indexer->rebuild('1')
#7 …
Run Code Online (Sandbox Code Playgroud) 在magento,我想添加这样的快速浏览功能http://www.timberlandonline.co.uk/on/demandware.store/Sites-TBLGB-Site/default/Link-Category?cgid=men_footwear_boots.我添加了一个隐藏输入和list.phtml中的div.如果我点击任何产品的div,javascript返回该类别页面中第一个产品的产品ID.但它应该返回所选div的产品ID.
我为magento创建了一个新主题.我想将它提交给communtity.当我尝试打包扩展时,我得到了包数据已经保存的消息,但var/pear目录中没有包.它不是可以在localhost中打包扩展吗?您需要更多信息吗?任何帮助将不胜感激.