卸载joomla软件包而不卸载所有子扩展 [英] uninstalling joomla package not uninstalling all child extensions

查看:74
本文介绍了卸载joomla软件包而不卸载所有子扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个joomla软件包,其中包括该软件包的packages文件夹内的所有组件和模块zip.包xml文件中的所有必需设置如下-

I created a joomla package including all component and module zips inside packages folder of the package. all required settings in package xml file as follows -

<extension type="package" version="2.5" method="upgrade">
........
<packagename>mypackage</packagename>
........
<files folder="packages">
    <filename type="module" id="mypackage">Ajax-Session-Module-master.zip</filename>
    <filename type="component" id="mypackage">component-develop.zip</filename>
</files>
.......

当我安装软件包时,我看到上面的软件包模块和组件安装得很好,但是当我从扩展管理器->管理"页面卸载软件包时,软件包卸载得很好,但是那些软件包模块和组件没有自动卸载!.

When i install package, i see those above package modules and components installed well, but when i uninstall package from extension manager->manage page , package uninstalled well but those package modules and components not uninstalled automatically!.

哪里出错了,我只是没有得到,因为我从Web上获得了必须将文件名ID作为包名放在上面的包xml文件中的信息,所以这样做了,但是它没有解决问题.仅供参考,该软件包将同时适用于joomla 2.5和joomla 2.5.请尽快引导我正确的方向.

Where is wrong i just not getting, as i got from web that i have to put filename id as the package name in package xml file above, so is did but it did not resolved the issue. Fyi this package will be for both joomla 2.5 and 3. Please lead me to right direction asap.

推荐答案

我认为在扩展包中,应使用<file ...>而不是<filename ...>.我在包xml中尝试了类似的方法:

I think in the extension package, you should use <file ...> instead of <filename ...>. I tried something like this in my package xml:

<?xml version="1.0" encoding="UTF-8" ?>
<extension type="package" version="3.0">
......
......
......
<files folder="packages">
    <file type="module" id="mod_rr_test_one" client="site">mod_rr_test_one.zip</file>
    <file type="plugin" id="rr_test_one" group="content">plg_content_rr_test_one.zip</file>
</files>

这篇关于卸载joomla软件包而不卸载所有子扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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