打包 Magento 扩展时找不到包 [英] Can't find the package when packaging a Magento Extension

查看:20
本文介绍了打包 Magento 扩展时找不到包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为magento创建了一个新主题.我想提交给社区.当我尝试打包扩展时,我收到包数据已保存消息,但没有包在 var/pear 目录中.是否可以在 localhost 中打包扩展?您需要更多信息吗?如果有任何帮助,我们将不胜感激.

I have created a new theme for magento.I want to submit it to the communtity.When i tried to package extension,I m getting The package data has been saved message,but there is no package in var/pear directory.Is it not possible to pack extension in localhost?Do you need more information?Any help would be appreciated.

推荐答案

请看这篇文章:- Magento:如何创建扩展包?(图片)

检查数据是否填写正确.

Check if the data is filled correctly.

在创建扩展包时,在包信息 -> 支持的版本

  • 如果您选择了1.5.0.0 及以后",那么您的扩展包存储在 var/connect 目录中.这支持 Magento 连接 2.0.

  • If you have chosen "1.5.0.0 & later" then your extension package is stored in var/connect directory. This supports Magento connect 2.0.

如果您选择了Pre-1.5.0.0",那么您的扩展包存储在 var/pear 目录中.这是用于 Magento 连接 1.0.

If you have chosen "Pre-1.5.0.0" then your extension package is stored in var/pear directory. This is for Magento connect 1.0.

如果您选择了这两个选项,那么扩展包将存储在两个位置(var/connect 和 var/pear).

If you have selected both options, then the extension packages is stored in both places (var/connect and var/pear).

从 var/pear 上传 1.0 版本时 – Magento Connect 将为您制作 2​​.0 版本.如果您只想支持 1.5 和更高版本的 Magento 只上传 2.0 文件var/connect 目录到 Magento.来源:http://www.magentocommerce.com/wiki/7_-_magento_connect/packaging_a_magento_extension_in_1.5

When uploading the 1.0 version from var/pear – Magento Connect will make the 2.0 version for you. If you wish to only support 1.5 and higher versions of Magento only then only upload the 2.0 file from the var/connect directory to Magento. Source: http://www.magentocommerce.com/wiki/7_-_magento_connect/packaging_a_magento_extension_in_1.5

编辑:

我尝试使用 app/designskin 文件夹创建一个包.它运行良好,我可以在 var/pear 内的包文件中看到其他文件夹和文件.

I tried to create a package with app/design and skin folder. It worked fine and I could see other folder and files in the package file inside var/pear.

我使用默认主题和默认皮肤进行了测试.在内容"部分,我一直这样:-

I tested with default theme and default skin. In 'Contents' section, I kept like this:-

Target: Magento Theme Skin
Path: frontend/default/default
Type: Recursive Dir

Target: Magento User Interface
Path: frontend/default/default
Type: Recursive Dir

这篇关于打包 Magento 扩展时找不到包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆