TemplatesSearch module
Search templates
Default templates the Search 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
search/backend/facets-index-fields/add.html
FacetsIndexFields\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$facetsIndexField |
FacetsIndexField |
Single (empty) FacetsIndexField record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/search/backend/facets-index-fields/add.html in your site repository.
search/backend/facets-index-fields/edit.html
FacetsIndexFields\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$facetsIndexField |
FacetsIndexField |
Retrieved FacetsIndexField record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/search/backend/facets-index-fields/edit.html in your site repository.
search/backend/facets-index-fields/manage.html
FacetsIndexFields\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$facetsIndexFields |
Collection<FacetsIndexField> |
Collection of FacetsIndexFields |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/search/backend/facets-index-fields/manage.html in your site repository.
search/backend/master-index-fields/add.html
MasterIndexFields\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$masterIndexField |
MasterIndexField |
Single (empty) MasterIndexField record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/search/backend/master-index-fields/add.html in your site repository.
search/backend/master-index-fields/edit.html
MasterIndexFields\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$masterIndexField |
MasterIndexField |
Retrieved MasterIndexField record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/search/backend/master-index-fields/edit.html in your site repository.
search/backend/master-index-fields/manage.html
MasterIndexFields\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$masterIndexFields |
Collection<MasterIndexField> |
Collection of MasterIndexFields |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/search/backend/master-index-fields/manage.html in your site repository.
search/backend/views/add.html
Views\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$view |
View |
Single (empty) View record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/search/backend/views/add.html in your site repository.
search/backend/views/edit.html
Views\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$view |
View |
Retrieved View record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/search/backend/views/edit.html in your site repository.
search/backend/views/manage.html
Views\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$views |
Collection<View> |
Collection of Views |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/search/backend/views/manage.html in your site repository.