How to add color picker in TCA of TYPO3


 
For add color picker. you have to add below script on yout tca file.

‘config’ => array (
   ‘type’ => ‘input’,
   ‘size’ => 10,
   ‘wizards’ => array(
       ‘_PADDING’ => 2,
       ‘color’ => array(
           ‘title’ => ‘Color:’,
           ‘type’ => ‘colorbox’,
           ‘dim’ => ’16×12',
           ‘tableStyle’ => ‘border:solid 1px black;’,
           ‘script’ => ‘wizard_colorpicker.php’,
           ‘JSopenParams’ => ‘height=300,width=250,status=0,menubar=0,scrollbars=1',
      ),
   ),
)

If you have any queries, please do not hesitate to contact me at Jainish Senjaliya

Advertisements

One thought on “How to add color picker in TCA of TYPO3

  1. Pingback: Win with Joy! ♥ | An I For Style | Fashion Blogging From A Small Village

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s