TemplatesUsers module

Users templates

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

users/backend/authors/add.html Authors\Add

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

The admin template receives
VariableTypeDescription
$author Author Single (empty) Author record

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

Customise this admin screen: create templates/users/backend/authors/add.html in your site repository.

users/backend/authors/edit.html Authors\Edit

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

The admin template receives
VariableTypeDescription
$author Author Retrieved Author record

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

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

users/backend/authors/manage.html Authors\Manage

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

The admin template receives
VariableTypeDescription
$authors Collection<Author> Collection of Authors

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

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

users/backend/groups/add.html Groups\Add

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

The admin template receives
VariableTypeDescription
$group Group Single (empty) Group record

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

Customise this admin screen: create templates/users/backend/groups/add.html in your site repository.

users/backend/groups/edit.html Groups\Edit

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

The admin template receives
VariableTypeDescription
$group Group Retrieved Group record

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

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

users/backend/groups/manage.html Groups\Manage

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

The admin template receives
VariableTypeDescription
$groups Collection<Group> Collection of Groups

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

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

users/backend/login.html Login

Process GET request. Show login form.

The admin template receives
VariableTypeDescription
$user User Empty user model
$localPasswordEnabled bool Is login via local password enabled?
$enabledOAuthAuthenticators array List of enabled OAuth authenticators

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

Customise this admin screen: create templates/users/backend/login.html in your site repository.

users/backend/people/add.html People\Add

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

The admin template receives
VariableTypeDescription
$person Person Single (empty) Person record

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

Customise this admin screen: create templates/users/backend/people/add.html in your site repository.

users/backend/people/edit.html People\Edit

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

The admin template receives
VariableTypeDescription
$person Person Retrieved Person record

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

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

users/backend/people/manage.html People\Manage

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

The admin template receives
VariableTypeDescription
$people Collection<Person> Collection of People

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

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

users/backend/person-address-types/add.html PersonAddressTypes\Add

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

The admin template receives
VariableTypeDescription
$personAddressType PersonAddressType Single (empty) PersonAddressType record

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

Customise this admin screen: create templates/users/backend/person-address-types/add.html in your site repository.

users/backend/person-address-types/edit.html PersonAddressTypes\Edit

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

The admin template receives
VariableTypeDescription
$personAddressType PersonAddressType Retrieved PersonAddressType record

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

Customise this admin screen: create templates/users/backend/person-address-types/edit.html in your site repository.

users/backend/person-address-types/manage.html PersonAddressTypes\Manage

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

The admin template receives
VariableTypeDescription
$personAddressTypes Collection<PersonAddressType> Collection of PersonAddressTypes

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

Customise this admin screen: create templates/users/backend/person-address-types/manage.html in your site repository.

users/backend/users/add.html Users\AddAuthorUser

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

The admin template receives
VariableTypeDescription
$user User Single (empty) User record

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

Customise this admin screen: create templates/users/backend/users/add.html in your site repository.

users/backend/users/edit.html Users\Edit

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

The admin template receives
VariableTypeDescription
$user User Retrieved User record

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

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

users/backend/users/manage.html Users\Manage

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

The admin template receives
VariableTypeDescription
$users Collection<User> Collection of Users

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

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