WoltLab Suite 6.2 Handbuch
Deutsch/PHP-Version: Die Website-Struktur, Navigation und Überschriften sind auf Deutsch vorbereitet. Code-Beispiele und technische Namen bleiben unverändert.

ACP Template Installation Plugin

Add templates for acp pages and forms by providing an archive containing the template files.

!!! warning "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:

Example in package.xml

<instruction type="acpTemplate" />
<!-- is the same as -->
<instruction type="acpTemplate">acptemplates.tar</instruction>

<!-- if an application "com.woltlab.example" is being installed, the following lines are equivalent -->
<instruction type="acpTemplate" />
<instruction type="acpTemplate" application="example" />