TemplatesCommon module
Common templates
Default templates the Common 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.
Admin view
common/backend/categories/add.html
Categories\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$category |
Category |
Single (empty) Category record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/categories/add.html in your site repository.
common/backend/categories/edit.html
Categories\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$category |
Category |
Retrieved Category record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/categories/edit.html in your site repository.
common/backend/categories/manage.html
Categories\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$categories |
Collection<Category> |
Collection of Categories |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/categories/manage.html in your site repository.
common/backend/custom-fields/add.html
CustomFields\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$customField |
CustomField |
Single (empty) CustomField record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/custom-fields/add.html in your site repository.
common/backend/custom-fields/edit.html
CustomFields\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$customField |
CustomField |
Retrieved CustomField record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/custom-fields/edit.html in your site repository.
common/backend/custom-fields/manage.html
CustomFields\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$customFields |
Collection<CustomField> |
Collection of CustomFields |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/custom-fields/manage.html in your site repository.
common/backend/global-components/add.html
GlobalComponents\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$globalComponent |
GlobalComponent |
Single (empty) GlobalComponent record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/global-components/add.html in your site repository.
common/backend/global-components/edit.html
GlobalComponents\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$globalComponent |
GlobalComponent |
Retrieved GlobalComponent record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/global-components/edit.html in your site repository.
common/backend/global-components/manage.html
GlobalComponents\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$globalComponents |
Collection<GlobalComponent> |
Collection of GlobalComponents |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/global-components/manage.html in your site repository.
common/backend/global-components/search.html
GlobalComponents\Search
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$globalComponents |
Collection<GlobalComponent> |
Collection of GlobalComponents |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/global-components/search.html in your site repository.
common/backend/input-types/add.html
InputTypes\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$inputType |
InputType |
Single (empty) InputType record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/input-types/add.html in your site repository.
common/backend/input-types/edit.html
InputTypes\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$inputType |
InputType |
Retrieved InputType record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/input-types/edit.html in your site repository.
common/backend/input-types/manage.html
InputTypes\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$inputTypes |
Collection<InputType> |
Collection of InputTypes |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/input-types/manage.html in your site repository.
common/backend/layout-categories/add.html
LayoutCategories\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$layoutCategory |
LayoutCategory |
Single (empty) LayoutCategory record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/layout-categories/add.html in your site repository.
common/backend/layout-categories/edit.html
LayoutCategories\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$layoutCategory |
LayoutCategory |
Retrieved LayoutCategory record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/layout-categories/edit.html in your site repository.
common/backend/layout-categories/manage.html
LayoutCategories\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$layoutCategories |
Collection<LayoutCategory> |
Collection of LayoutCategories |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/layout-categories/manage.html in your site repository.
common/backend/layouts/edit.html
Layouts\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$layout |
Layout |
Retrieved Layout record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/layouts/edit.html in your site repository.
common/backend/layouts/manage.html
Layouts\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$layouts |
Collection<Layout> |
Collection of Layouts |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/layouts/manage.html in your site repository.
common/backend/tags/add.html
Tags\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$tag |
Tag |
Single (empty) Tag record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/tags/add.html in your site repository.
common/backend/tags/edit.html
Tags\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$tag |
Tag |
Retrieved Tag record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/tags/edit.html in your site repository.
common/backend/tags/manage.html
Tags\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$tags |
Collection<Tag> |
Collection of Tags |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/tags/manage.html in your site repository.
common/backend/widgets/add.html
Widgets\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$widget |
Widget |
Single (empty) Widget record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/widgets/add.html in your site repository.
common/backend/widgets/edit.html
Widgets\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$widget |
Widget |
Retrieved Widget record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/widgets/edit.html in your site repository.
common/backend/widgets/manage.html
Widgets\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$widgets |
Collection<Widget> |
Collection of Widgets |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/common/backend/widgets/manage.html in your site repository.