|
1 | | -:navigation-title: be.tableList |
| 1 | +git :navigation-title: be.tableList |
2 | 2 |
|
3 | 3 | .. include:: /Includes.rst.txt |
4 | 4 | .. _typo3-fluid-be-tablelist: |
|
7 | 7 | Be.tableList ViewHelper `<f:be.tableList>` |
8 | 8 | ========================================== |
9 | 9 |
|
| 10 | +.. figure:: /Images/BeTablelistCategory.png |
| 11 | + :alt: Screenshot of a table of categories. |
| 12 | + |
10 | 13 | .. typo3:viewhelper:: be.tableList |
11 | 14 | :source: ../../Global.json |
12 | | - :display: tags,description,gitHubLink,arguments |
| 15 | + :display: tags,description,gitHubLink |
| 16 | + :noindex: |
| 17 | + |
| 18 | +.. contents:: Table of contents |
13 | 19 |
|
14 | 20 | .. _typo3-fluid-be-tablelist-example: |
15 | 21 |
|
16 | 22 | Examples |
17 | 23 | ======== |
18 | 24 |
|
19 | | -Minimal:: |
| 25 | +Display and make editable the content elements of page 1 and its direct children: |
| 26 | + |
| 27 | +.. tabs:: |
| 28 | + |
| 29 | + .. group-tab:: Code example |
| 30 | + |
| 31 | + .. literalinclude:: /Global/Be/_TableList/_Content.html |
| 32 | + :caption: EXT:my_extension/Resources/Private/Backend/Templates/MyModule.html |
| 33 | + |
| 34 | + .. group-tab:: Screenshot |
20 | 35 |
|
21 | | - <f:be.tableList tableName="fe_users" /> |
| 36 | + .. figure:: /Images/BeTablelist.png |
| 37 | + :alt: Screenshot of a table of content elements with edit options. |
22 | 38 |
|
23 | | -List of all "Website user" records stored in the configured storage PID. |
24 | | -Records will be editable, if the current backend user has got edit rights for the table ``fe_users``. |
| 39 | +List all categories on page 5 and make them editable when clicking the title: |
25 | 40 |
|
26 | | -Only the title column (username) will be shown. |
| 41 | +.. tabs:: |
27 | 42 |
|
28 | | -Context menu is active. |
| 43 | + .. group-tab:: Code example |
29 | 44 |
|
30 | | -Full:: |
| 45 | + .. literalinclude:: /Global/Be/_TableList/_Category.html |
| 46 | + :caption: EXT:my_extension/Resources/Private/Backend/Templates/MyModule.html |
31 | 47 |
|
32 | | - <f:be.tableList tableName="fe_users" fieldList="{0: 'name', 1: 'email'}" |
33 | | - storagePid="1" |
34 | | - levels="2" |
35 | | - filter="foo" |
36 | | - recordsPerPage="10" |
37 | | - sortField="name" |
38 | | - sortDescending="true" |
39 | | - readOnly="true" |
40 | | - enableClickMenu="false" |
41 | | - enableControlPanels="true" |
42 | | - clickTitleMode="info" |
43 | | - /> |
| 48 | + .. group-tab:: Screenshot |
44 | 49 |
|
45 | | -List of "Website user" records with a text property of ``foo`` stored on PID ``1`` and two levels down. |
46 | | -Clicking on a username will open the TYPO3 info popup for the respective record |
| 50 | + .. figure:: /Images/BeTablelistCategory.png |
| 51 | + :alt: Screenshot of a table of categories. |
| 52 | + |
| 53 | +.. _typo3-fluid-be-tablelist-arguments: |
| 54 | + |
| 55 | +Arguments |
| 56 | +========= |
| 57 | + |
| 58 | +.. typo3:viewhelper:: be.tableList |
| 59 | + :source: ../../Global.json |
| 60 | + :display: arguments-only |
0 commit comments