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.

View cdna-admin screens you can override in your site repository.

Admin view

common/backend/categories/add.html Categories\Add

Add a new record. Assigns an empty record to the template.

The admin template receives
VariableTypeDescription
$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

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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.