g
Frontend | Backend | Api

Books default templates

This page contains an overview of the default templates for the Books 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
books/backend/books/add.html Books\Add
Name Type Description
book Book Single (empty) Book record
_messages Coredna\Kernel\Helper\Response\Messages Messages helper; used to retrieve messages from the controller
_currentSite Site Current site
_url Coredna\Kernel\Helper\Url URL helper; used to generate urls
_request Coredna\Kernel\Helper\Response\Request Current HTTP request
_configuration Coredna\Kernel\Helper\Response\Configuration Configuration helper; provides access to the site's configuration
__ Coredna\Kernel\Helper\Translator Translation helper; allows translating keys to text
_validation Coredna\Kernel\Helper\Validation Validation helper; allows displaying error messages from validation errors
Add a new record. Assigns an empty record to the template.
books/backend/books/edit.html Books\Edit
Name Type Description
book Book Retrieved Book record
_messages Coredna\Kernel\Helper\Response\Messages Messages helper; used to retrieve messages from the controller
_currentSite Site Current site
_url Coredna\Kernel\Helper\Url URL helper; used to generate urls
_request Coredna\Kernel\Helper\Response\Request Current HTTP request
_configuration Coredna\Kernel\Helper\Response\Configuration Configuration helper; provides access to the site's configuration
__ Coredna\Kernel\Helper\Translator Translation helper; allows translating keys to text
_validation Coredna\Kernel\Helper\Validation Validation helper; allows displaying error messages from validation errors
Retrieve a single record and display the edit page for the record
books/backend/books/manage.html Books\Manage
Name Type Description
books Collection (Book) Collection of Books
_messages Coredna\Kernel\Helper\Response\Messages Messages helper; used to retrieve messages from the controller
_currentSite Site Current site
_url Coredna\Kernel\Helper\Url URL helper; used to generate urls
_request Coredna\Kernel\Helper\Response\Request Current HTTP request
_configuration Coredna\Kernel\Helper\Response\Configuration Configuration helper; provides access to the site's configuration
__ Coredna\Kernel\Helper\Translator Translation helper; allows translating keys to text
_validation Coredna\Kernel\Helper\Validation Validation helper; allows displaying error messages from validation errors
Retrieve available records and assign them to the template for editing.
books/backend/pages/add.html Pages\Add
Name Type Description
page Page Single (empty) Page record
_messages Coredna\Kernel\Helper\Response\Messages Messages helper; used to retrieve messages from the controller
_currentSite Site Current site
_url Coredna\Kernel\Helper\Url URL helper; used to generate urls
_request Coredna\Kernel\Helper\Response\Request Current HTTP request
_configuration Coredna\Kernel\Helper\Response\Configuration Configuration helper; provides access to the site's configuration
__ Coredna\Kernel\Helper\Translator Translation helper; allows translating keys to text
_validation Coredna\Kernel\Helper\Validation Validation helper; allows displaying error messages from validation errors
Add a new record. Assigns an empty record to the template.
books/backend/units/add.html Units\Add
Name Type Description
unit Unit Single (empty) Unit record
_messages Coredna\Kernel\Helper\Response\Messages Messages helper; used to retrieve messages from the controller
_currentSite Site Current site
_url Coredna\Kernel\Helper\Url URL helper; used to generate urls
_request Coredna\Kernel\Helper\Response\Request Current HTTP request
_configuration Coredna\Kernel\Helper\Response\Configuration Configuration helper; provides access to the site's configuration
__ Coredna\Kernel\Helper\Translator Translation helper; allows translating keys to text
_validation Coredna\Kernel\Helper\Validation Validation helper; allows displaying error messages from validation errors
Add a new record. Assigns an empty record to the template.
books/backend/units/edit.html Units\Edit
Name Type Description
unit Unit Retrieved Unit record
_messages Coredna\Kernel\Helper\Response\Messages Messages helper; used to retrieve messages from the controller
_currentSite Site Current site
_url Coredna\Kernel\Helper\Url URL helper; used to generate urls
_request Coredna\Kernel\Helper\Response\Request Current HTTP request
_configuration Coredna\Kernel\Helper\Response\Configuration Configuration helper; provides access to the site's configuration
__ Coredna\Kernel\Helper\Translator Translation helper; allows translating keys to text
_validation Coredna\Kernel\Helper\Validation Validation helper; allows displaying error messages from validation errors
Retrieve a single record and display the edit page for the record