TemplatesAdmin module

Admin templates

Default templates the Admin module renders, the controller that renders each one and what it receives. A file at the same path in your site repository replaces the platform's.

View cdna-admin screens you can override in your site repository.

Admin view

admin/backend/audit-log/manage.html AuditLog\Manage

Retrieve available records and assign them to the template for editing.

Common variables such as $_url, $_request and $_menu are available too. Global template variables

Customise this admin screen: create templates/admin/backend/audit-log/manage.html in your site repository.

admin/backend/jobs/manage.html Jobs\Manage

Retrieve available records and assign them to the template for editing.

The admin template receives
VariableTypeDescription
$jobs Collection<Job> Collection of Jobs

Common variables such as $_url, $_request and $_menu are available too. Global template variables

Customise this admin screen: create templates/admin/backend/jobs/manage.html in your site repository.

admin/backend/menu-elements/add.html MenuElements\Add

Add a new record. Assigns an empty record to the template.

The admin template receives
VariableTypeDescription
$menuElement MenuElement Single (empty) MenuElement record

Common variables such as $_url, $_request and $_menu are available too. Global template variables

Customise this admin screen: create templates/admin/backend/menu-elements/add.html in your site repository.

admin/backend/menu-elements/edit.html MenuElements\Edit

Retrieve a single record and display the edit page for the record

The admin template receives
VariableTypeDescription
$menuElement MenuElement Retrieved MenuElement record

Common variables such as $_url, $_request and $_menu are available too. Global template variables

Customise this admin screen: create templates/admin/backend/menu-elements/edit.html in your site repository.

admin/backend/menu-elements/manage.html MenuElements\Manage

Retrieve available records and assign them to the template for editing.

The admin template receives
VariableTypeDescription
$menuElements Collection<MenuElement> Collection of MenuElements

Common variables such as $_url, $_request and $_menu are available too. Global template variables

Customise this admin screen: create templates/admin/backend/menu-elements/manage.html in your site repository.