ACP Template Installation Plugin#
Add templates for acp pages and forms by providing an archive containing the template files.
You cannot overwrite acp templates provided by other packages.
Archive#
The acpTemplate
package installation plugins expects a .tar
(recommended) or .tar.gz
archive.
The templates must all be in the root of the archive.
Do not include any directories in the archive.
The file path given in the instruction
element as its value must be relative to the package.xml
file.
Attributes#
application
#
The application
attribute determines to which application the installed acp templates belong and thus in which directory the templates are installed.
The value of the application
attribute has to be the abbreviation of an installed application.
If no application
attribute is given, the following rules are applied:
- If the package installing the acp templates is an application, then the templates will be installed in this application's directory.
- If the package installing the acp templates is no application, then the templates will be installed in WoltLab Suite Core's directory.
Example in package.xml
#
1 2 3 4 5 6 7 |
|