Skip to main content

Templates

The Templates plugin manages template styles, their settings and files.


Each management tool requires, for the Templates component (com_templates), the permission shown in the “Required permissions” column. Read-only tools require no specific permissions. Two tools that work with files require elevated privileges (see the relevant section).

Template styles

Manage styles and set the default style.

ToolFunctionRequired permissions (ACL)
list_template_stylesList stylesNone (read-only)
get_template_styleRead a styleNone (read-only)
create_template_styleCreate a styleCreate — core.create
update_template_styleModify a styleEdit — core.edit
delete_template_styleDelete a styleDelete — core.delete
set_home_template_styleSet the home styleEdit state — core.edit.state

Style parameters

Explore a style's parameters.

ToolFunctionRequired permissions (ACL)
get_template_style_paramsStyle parametersNone (read-only)
list_installed_templatesInstalled templatesNone (read-only)

Template files

View and edit a template's files (overrides). Reading or writing a file means access to code: these tools require elevated privileges.

ToolFunctionRequired permissions (ACL)
list_template_filesList filesNone (read-only)
get_template_fileRead a fileConfigure ACL/options — core.admin (com_templates)
update_template_fileModify a file (= code execution)Super User — global core.admin

Prompt examples

“Duplicate the template style and set it as the default style.”

“Show me the index.php file for the active template.”