[TYPO3] TCA foreign_table-field readOnly

Klaus Herzberg klausherzberg at googlemail.com
Mon May 29 16:41:38 CEST 2006


Hi,
I have in one of my tca.php the following code:

...
'columns' => Array
(
  'companyid' => Array
  (
    'config' => Array
    (
      'type' => 'select',
      'foreign_table' => 'tx_myext_company',
      'foreign_table_where' => '###companyid###',
      'items' => Array()
    )
  )
)
...

everything works fine. in BE i can see the select-box with the name of
the company.

BUT: now i want the select-box readOnly. i want to see the company-name
but not changeable.

is it possible? i think there is nothing written in api-docu?

thanks. klaus.



More information about the TYPO3-english mailing list