Advertisement
junfan59

Typo3 6.2.14 TCA for database view

Aug 21st, 2015
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.74 KB | None | 0 0
  1. <?php
  2. $TCA['tx_dbview'] = array (
  3.     'ctrl' => $TCA['tx_dbview']['ctrl'],
  4.     'interface' => array (
  5.         'showRecordFieldList' => 'pid,title,identifier'
  6.     ),
  7.     'columns' => array (
  8.         'pid' => array (
  9.             'label' => '',
  10.             'config' => array (
  11.                 'type' => 'none'
  12.             )
  13.         ),
  14.         'title' => array(
  15.             'exclude' => 0,
  16.             'l10n_mode' => 'prefixLangTitle',
  17.             'label' => 'LLL:EXT:cms/locallang_ttc.xlf:header_formlabel',
  18.             'config' => array(
  19.                 'type' => 'input',
  20.                 'size' => 60,
  21.                 'eval' => 'required',
  22.             )
  23.         ),
  24.         'identifier' => array(
  25.             'exclude' => 0,
  26.             'l10n_mode' => 'prefixLangIdentifier',
  27.             'label' => 'Identifier',
  28.             'config' => array(
  29.                 'type' => 'input',
  30.                 'size' => 60,
  31.                 'eval' => 'required',
  32.             ),
  33.         )
  34.     )
  35. );
  36. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement