打包 magento 扩展:第 5 步:内容
我有一个适用于 magento 商店的脚本。如果将其转储到网上商店的根文件夹中,它就可以正常工作。我想把它封装起来,让其他人也可以自由使用。我已使用包管理器执行步骤 5,其中有角色:路径:类型:包含:忽略。我应该在这些字段中输入什么?我的文件的位置是 app/core/community/magentofile.php
任何帮助将不胜感激。谢谢。
I have a script which works on magento stores. It works fine if it is dumped on the root folder of the webstore. I want to package it where others can also use freely. I've used package manager to step 5. where there is Role: Path: Type: Include: Ignore. What should i put in these fields? the location of my file is app/core/community/magentofile.php
Any help would be appreciated. thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
“目录”是您告诉包管理器您想要包含在包中的文件的地方。您可以包含
特定文件的路径
特定目录的路径,它将递归地包含该目录中的所有文件< /p>
。路径根据类型是相对的。例如,Magento 本地模块文件将相对于
参见本文以获取类型/基本目录的完整列表(自链接)
http://alanstorm.com/magento_connect_role_directories
"Contents" is where you tell the package manager which files you want to include in your package. You can include
The path to a specific file
The path to a specific directory, which will recursively include all the files in that directory
Paths are relative based on type. For example, a Magento Local module file will be relative from
See this article for a full list of types/base-directories (self-link)
http://alanstorm.com/magento_connect_role_directories
好好阅读:
http://www .magentocommerce.com/blog/comments/developers-packaging-extensions-in-magento-15-explained/
http://www.magentocommerce.com/boards/viewthread/222914/
http://www.magentocommerce.com/wiki/7_-_magento_connect/packaging_a_magento_extension
Have a good read:
http://www.magentocommerce.com/blog/comments/developers-packaging-extensions-in-magento-15-explained/
http://www.magentocommerce.com/boards/viewthread/222914/
http://www.magentocommerce.com/wiki/7_-_magento_connect/packaging_a_magento_extension