[Typo3] selectorbox without database relation

Bartosz Aninowski bart at sonik.pl
Tue Jun 21 14:07:37 CEST 2005


Hi
I would like to add selector box described here "A multiple value selector 
with contents from a database table"
http://typo3.org/documentation/document-library/doc_core_api/columns_fieldnam-5/?encryptionKey=&cHash=cb45d86f28
to my BE  form.
This is part of  my tca.php

"acl_res" => Array (
   "exclude" => 0,
   "label" => 
"LLL:EXT:evproducts/locallang_db.php:tx_evproducts_type_acl.res",
   'sqltype'=>'int(11)',
   "config" => Array (
   "type" => "select",
    "items" => Array (
     Array("", 0),
                    Array("3008 x 2000",145),
                    Array("2240 x 1488",146),
                    Array("1504 x 1000",147),
    ),
   )
  ),

There is no database relation (foreign table) just  list of items in array. 
Is it possible? 





More information about the TYPO3-english mailing list