[Typo3-dev] Setting a checkbox to checked by default

Mathias Schreiber [k1net] ms at netfielders.de
Thu Jan 29 09:28:20 CET 2004


S. Teuber wrote:
> ext_tables.php:
> ------------------- start --------------------
> $tempColumns = Array (
> 'tx_myext_ft1' => Array (
> 'exclude' => 1,
> 'label' => 'LLL:EXT:my_ext/locallang_db.php:pages.tx_myext_ft1',
> 'config' => Array (
> 'type' => 'check',

'default' => '1',

> 'cols' => 4,
> 'items' => Array (
> Array('LLL:EXT:my_ext/locallang_db.php:pages.tx_myext_ft1.I.0', ''),
> Array('LLL:EXT:my_ext/locallang_db.php:pages.tx_myext_ft1.I.1', ''),
> Array('LLL:EXT:my_ext/locallang_db.php:pages.tx_myext_ft1.I.2', ''),

Maybe.. not sure about that one.

-- 
Want support? Please read the list rules first:
http://typo3.org/1438.0.html






More information about the TYPO3-dev mailing list