You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/building-extensions/install-update/installation/package.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ A package extension is created by zipping all .zip files of the indivudal extens
18
18
- system plugin helloworld
19
19
- template helloworld
20
20
21
-
then the package should have the following tree within the `pkg_helloworld` folder:
21
+
then the package should have the following tree within the `pkg_helloworld` folder:
22
22
23
23
```
24
24
pkg_helloworld
@@ -33,7 +33,7 @@ pkg_helloworld
33
33
34
34
```
35
35
36
-
The `pkg_helloworld.xml` manifest file could have the following contents:
36
+
The `pkg_helloworld.xml` manifest file could have the following contents:
37
37
38
38
```xml title="pkg_helloworld.xml"
39
39
<?xml version="1.0" encoding="UTF-8" ?>
@@ -60,7 +60,7 @@ The `pkg_helloworld.xml` manifest file could have the following contents:
60
60
</extension>
61
61
```
62
62
63
-
You then zip up the `pkg_helloworld` folder and install the package extension in the normal way.
63
+
You then zip up the `pkg_helloworld` folder and install the package extension in the normal way.
64
64
When you go to Manage Extensions you will then see:
65
65
- an entry for the overall helloworld package, and,
66
66
- entries for each of the constituent extensions within the package.
@@ -81,25 +81,25 @@ So in this case the manifest file must be named `pkg_helloworld.xml`.
81
81
82
82
When you uninstall a package Joomla looks for a manifest file named `pkg_<packagename>.xml` and if you don't name it correctly then the uninstall will fail with Joomla reporting that it can't find the manifest file.
83
83
84
-
### `id` attribute
84
+
### `id` attribute
85
85
86
-
Within the `<file>` element of each constituent extension the `id` attribute must match the `element` column of that extension's record in the `#__extensions` table.
86
+
Within the `<file>` element of each constituent extension the `id` attribute must match the `element` column of that extension's record in the `#__extensions` table.
87
87
88
-
(See the [Metadata](manifest.md#metadata) and [Front-end Files](manifest.md#front-end-files) sections for some explanation of how this `element` field is set).
88
+
(See the [Metadata](manifest.md#metadata) and [Frontend Files](manifest.md#frontend-files) sections for some explanation of how this `element` field is set).
89
89
90
90
When you uninstall a package Joomla uses this information in the manifest file to perform a database lookup in the `#__extensions` table to find each constituent extension. If you don't set this correctly then Joomla will not uninstall that constituent extension.
91
91
92
92
### Plugin `group` attribute
93
93
94
-
The `group` attribute is required for the package installer to locate the plugin for uninstall.
94
+
The `group` attribute is required for the package installer to locate the plugin for uninstall.
95
95
96
-
Group refers to the `group` attribute specified within the `<extension>` element of the plugin manifest file, and matches the subfolder name under the Joomla /plugins directory.
96
+
Group refers to the `group` attribute specified within the `<extension>` element of the plugin manifest file, and matches the subfolder name under the Joomla /plugins directory.
97
97
98
98
### `blockChildUninstall` tag
99
99
100
100
Use this tag to prevent an administrator from uninstalling individually a constituent extension of your package.
0 commit comments