[TYPO3] make title and alttext required

Tapio Markula tapio.markula at atwebteam.com
Sat Apr 21 13:45:29 CEST 2007


Ralf Hettinger kirjoitti:
> Whoops,
> 
> this introduces a syntax error... better use
> 
> 'altText' => Array (
>   'exclude' => 1,
>   'label' => 'LLL:EXT:cms/locallang_ttc.php:image_altText',
>   'config' => Array (
>     'type' => 'text',
>     'cols' => '30',
>     'rows' => '3',
>     'eval' => 'required'
>   )
> ),
> 'titleText' => Array (
>   'exclude' => 1,
>   'label' => 'LLL:EXT:cms/locallang_ttc.php:image_titleText',
>   'config' => Array (
>     'type' => 'text',
>     'cols' => '30',
>     'rows' => '3',
>     'eval' => 'required'
>   )
> ),

It is best to create a small extension, which
minimal has just ext_tables.pht
and ext_emconf.php
in ext_tables.php you can put all your changes your customer needs.


More information about the TYPO3-english mailing list