diff --git a/Documentation/Global/Be/TableList.rst b/Documentation/Global/Be/TableList.rst index 4b54ffb..5c7bac8 100644 --- a/Documentation/Global/Be/TableList.rst +++ b/Documentation/Global/Be/TableList.rst @@ -1,4 +1,4 @@ -:navigation-title: be.tableList +git :navigation-title: be.tableList .. include:: /Includes.rst.txt .. _typo3-fluid-be-tablelist: @@ -7,40 +7,54 @@ Be.tableList ViewHelper `` ========================================== +.. figure:: /Images/BeTablelistCategory.png + :alt: Screenshot of a table of categories. + .. typo3:viewhelper:: be.tableList :source: ../../Global.json - :display: tags,description,gitHubLink,arguments + :display: tags,description,gitHubLink + :noindex: + +.. contents:: Table of contents .. _typo3-fluid-be-tablelist-example: Examples ======== -Minimal:: +Display and make editable the content elements of page 1 and its direct children: + +.. tabs:: + + .. group-tab:: Code example + + .. literalinclude:: /Global/Be/_TableList/_Content.html + :caption: EXT:my_extension/Resources/Private/Backend/Templates/MyModule.html + + .. group-tab:: Screenshot - + .. figure:: /Images/BeTablelist.png + :alt: Screenshot of a table of content elements with edit options. -List of all "Website user" records stored in the configured storage PID. -Records will be editable, if the current backend user has got edit rights for the table ``fe_users``. +List all categories on page 5 and make them editable when clicking the title: -Only the title column (username) will be shown. +.. tabs:: -Context menu is active. + .. group-tab:: Code example -Full:: + .. literalinclude:: /Global/Be/_TableList/_Category.html + :caption: EXT:my_extension/Resources/Private/Backend/Templates/MyModule.html - + .. group-tab:: Screenshot -List of "Website user" records with a text property of ``foo`` stored on PID ``1`` and two levels down. -Clicking on a username will open the TYPO3 info popup for the respective record + .. figure:: /Images/BeTablelistCategory.png + :alt: Screenshot of a table of categories. + +.. _typo3-fluid-be-tablelist-arguments: + +Arguments +========= + +.. typo3:viewhelper:: be.tableList + :source: ../../Global.json + :display: arguments-only diff --git a/Documentation/Global/Be/_TableList/_Category.html b/Documentation/Global/Be/_TableList/_Category.html new file mode 100644 index 0000000..4dd96f3 --- /dev/null +++ b/Documentation/Global/Be/_TableList/_Category.html @@ -0,0 +1,6 @@ + diff --git a/Documentation/Global/Be/_TableList/_Content.html b/Documentation/Global/Be/_TableList/_Content.html new file mode 100644 index 0000000..b6c2deb --- /dev/null +++ b/Documentation/Global/Be/_TableList/_Content.html @@ -0,0 +1,7 @@ + diff --git a/Documentation/Images/BeTablelist.png b/Documentation/Images/BeTablelist.png new file mode 100644 index 0000000..f2e04f9 Binary files /dev/null and b/Documentation/Images/BeTablelist.png differ diff --git a/Documentation/Images/BeTablelistCategory.png b/Documentation/Images/BeTablelistCategory.png new file mode 100644 index 0000000..3879cd9 Binary files /dev/null and b/Documentation/Images/BeTablelistCategory.png differ