简体   繁体   中英

Show a list in page view in TYPO3 backend

I have a custom table that can be edited by users in List view in TYPO3 backend.

For better usability, it would be great to display that table in Page view, so they don't have to change between List view and Page view. This is possible for FE-Users (see screenshot) - so my question is: How can I have this feature for an extension table?

页面视图中的FE用户条目

You can define the table in $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms'], for example via your LocalConfiguration or AdditionalConfiguration.php file.

Add a config in that section that looks like:

'EXTCONF' => array(
    'cms' => array(
      'db_layout' => array(
         'addTables' => array(
            'fe_users' => array(
               0 => array(
                  'MENU' => '',
                  'fList' => 'username,usergroup,name,email,telephone,address,zip,city',
                  'icon' => TRUE
               )
            )
         )
      )
   )
)

Find the documentation for that feature at https://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/Examples/TablesInPageModule/Index.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM