From 22b8f36b4a07af2f72429eed4e57b24b0f937634 Mon Sep 17 00:00:00 2001 From: WebVPF <61043464+WebVPF@users.noreply.github.com> Date: Mon, 21 Oct 2024 10:56:52 +0300 Subject: [PATCH] Fixed controller file extension from htm to php (#217) --- backend/lists.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/lists.md b/backend/lists.md index 05d03c3c..8a98091a 100644 --- a/backend/lists.md +++ b/backend/lists.md @@ -91,7 +91,7 @@ The toolbar configuration allows: Option | Description ------------- | ------------- -`buttons` | a reference to a controller partial file with the toolbar buttons. Eg: **_list_toolbar.htm** +`buttons` | a reference to a controller partial file with the toolbar buttons. Eg: **_list_toolbar.php** `search` | reference to a Search Widget configuration file, or an array with configuration. The search configuration supports the following options: @@ -441,7 +441,7 @@ group_id: content: label: Content type: partial - path: ~/plugins/acme/blog/models/comment/_content_column.htm + path: ~/plugins/acme/blog/models/comment/_content_column.php ``` ### Color Picker @@ -828,7 +828,7 @@ public function index() ### Overriding views -The `ListController` behavior has a main container view that you may override by creating a special file named `_list_container.htm` in your controller directory. The following example will add a sidebar to the list: +The `ListController` behavior has a main container view that you may override by creating a special file named `_list_container.php` in your controller directory. The following example will add a sidebar to the list: ```html @@ -858,7 +858,7 @@ customViewPath: $/acme/blog/controllers/reviews/list > **NOTE**: It is a good idea to use a sub-directory, for example `list`, to avoid conflicts. -For example, to modify the list body row markup, create a file called `list/_list_body_row.htm` in your controller directory. +For example, to modify the list body row markup, create a file called `list/_list_body_row.php` in your controller directory. ```php