Frontend | Backend | Api

Hooks default templates (Backend)

This page contains an overview of the default templates for the Hooks module.

The overview is generated based on controllers using the specified template as their default layout and containing GET methods; thus depending on the configuration the controller might not use the template at all or other controllers might use the template too.
The table is only meant as a first orientation which ResponseVariables can likely be expected when working with the template.

File Controller GET Response variables GET Description
hooks/backend/actions/add.html Actions\Add Add a new record. Assigns an empty record to the template.
hooks/backend/actions/edit.html Actions\Edit Retrieve a single record and display the edit page for the record
hooks/backend/actions/manage.html Actions\Manage Retrieve available records and assign them to the template for editing.
hooks/backend/batch-actions/edit.html BatchActions\Edit
Name Type Description
batchAction BatchAction Retrieved BatchAction record
Retrieve a single record and display the edit page for the record
hooks/backend/batch-actions/manage.html BatchActions\Manage
Name Type Description
batchActions Collection (BatchAction) Collection of BatchActions
Retrieve available records and assign them to the template for editing.
hooks/backend/batches/edit.html Batches\Edit
Name Type Description
batch Batch Retrieved Batch record
Retrieve a single record and display the edit page for the record
hooks/backend/batches/manage.html Batches\Manage
Name Type Description
batches Collection (Batch) Collection of Batches
Retrieve available records and assign them to the template for editing.
hooks/backend/categories/add.html Categories\Add
Name Type Description
category Category Single (empty) Category record
Add a new record. Assigns an empty record to the template.
hooks/backend/categories/edit.html Categories\Edit
Name Type Description
category Category Retrieved Category record
Retrieve a single record and display the edit page for the record
hooks/backend/categories/manage.html Categories\Manage
Name Type Description
categories Collection (Category) Collection of Categories
Retrieve available records and assign them to the template for editing.
hooks/backend/hooks/add.html Hooks\Add
Name Type Description
hook Hook Single (empty) Hook record
Add a new record. Assigns an empty record to the template.
hooks/backend/hooks/edit.html Hooks\Edit
Name Type Description
hook Hook Retrieved Hook record
Retrieve a single record and display the edit page for the record
hooks/backend/hooks/manage.html Hooks\Manage
Name Type Description
hooks Collection (Hook) Collection of Hooks
Retrieve available records and assign them to the template for editing.