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.
Templates view
quotes/quotes/index.html
Quotes\Index
Retrieve a list of records and assign them to the template.
| Variable | Type | Description |
|---|---|---|
$quotes |
Collection<Quote> |
Collection of Quotes |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Override it: create templates/quotes/quotes/index.html in your site repository.
quotes/quotes/show.html
Quotes\Show
Show a single record
| Variable | Type | Description |
|---|---|---|
$quote |
Quote |
Single Quote record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Override it: create templates/quotes/quotes/show.html in your site repository.