[TYPO3] $tempColumns ??

Aji Johannes aji.yahya at gmail.com
Tue Aug 15 20:44:41 CEST 2006


Dmitry Dulepov schrieb:
> Hi!
> 
> Aji Johannes wrote:
>> i have an Question about ext_tables.php.
> 
> I read carefully but do not see the question.
> 
> In any case reading "TYPO3 core APIs" should give you information about 
> $TCA. This will help you to set appropriate default values.
> 
Hello Dmitry,

thanks i get it.

i do  like this   : 'items' => Array (Array('', 0),),


this the whole script :


$tempColumns = Array (
     "tx_xxxx" => Array (
         "exclude" => 0,
         "label" =>"LLL:EXT:xxxx/locallang_db.php:pages.tx_xxxx",

         "config" => Array (
             "type" => "select",
	    "items" => Array (
			      Array('', 0),
			     ),
             "foreign_table" => "tx_xxxx",
             "foreign_table_where" => "ORDER BY tx_xxxx.uid",
             "size" => 1,
             "minitems" => 0,
             "maxitems" => 1,
             "default" => "0",
             "wizards" => Array(
             "_PADDING" => 2,
             "_VERTICAL" => 1,

             "list" => Array(
                     "type" => "script",
                     "title" => "List",
                     "icon" => "list.gif",
                     "params" => Array(
                     "table"=>"tx_xxxx",
                     "pid" => "###CURRENT_PID###",
                             ),
                     "script" => "wizard_list.php",
                 ),
             ),


         )
     ),
);



More information about the TYPO3-english mailing list