TemplatesQuotes module

Quotes templates

Default templates the Quotes 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

quotes/backend/quotes/edit.html Quotes\Edit

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

The admin template receives
VariableTypeDescription
$quote Quote Retrieved Quote record

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

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

quotes/backend/quotes/manage.html Quotes\Manage

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

The admin template receives
VariableTypeDescription
$quotes Collection<Quote> Collection of Quotes

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

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