2012-08-17 102 views
2

我正在尝试创建一个安装脚本来在我的数据库表上安装自定义属性,并且正在寻找关于以下方面的参考。我只需要知道他们的确在做什么,就我列出的一些例子而言,我发现了另一个问题,但我没有在其他任何地方找到任何信息。如果有人知道我在哪里可以读到这些,我会很感激。Magento:需要安装脚本的信息

adminhtml_customer //to make the attribute can be created in backend only 
customer_account_create //to make the attribute can be created in registration only 
customer_account_edit // to make the attribute can be edited in the frontend only 
customer_address_edit 
customer_register_address 
checkout_register 
adminhtml_customer_address 

基于我上市,我可以排序的猜测别人做的,但我不希望被误认为我的猜测3个首批样品,如果有其他人我没有列出,我会也乐意获取这些信息。

回答

3

给看看到核心代码池(/app/code/core/Mage)模块的安装脚本,你可以找到很多很好的提示的

+0

谢谢,这为我做。 – BlueSun3k1 2012-08-19 20:10:10

+1

学习magento的最好方法是查看'原始'代码,在magento网站上也有一些很好的screencast,大约40小时的技术资料(需要订阅magento认证程序,它应该是免费的) – WonderLand 2012-08-20 10:22:46