[TYPO3-v4] TCA Valueslider Wizard

Steffen Kamper info at sk-typo3.de
Sun Mar 13 17:58:11 CET 2011


Hi,

Am 13.03.2011 17:36, schrieb Tolleiv.Nietsch:
> Hi,
>
> I'd personally prefer to have something like this in a well documented
> (and maintained) extension. It's imho comparable to the color picker -
> nice to have but seldom used.
>

don't you think this depends on easy-to-use? I'd use that always eg with 
time entry.

Example:

'f_integer' => array (
	'exclude' => 0,
	'label' => 
'LLL:EXT:test_tcaslider/locallang_db.xml:tx_testtcaslider_sliderfields.f_integer',
	'config' => array (
		'type' => 'input',
		'size' => '5',
		'eval' => 'int',
		'min'  => 0,
		'max'  => 500,
		'wizards' => array(
			'_PADDING' => 2,
			'slider' => array(
				'type' => 'slider',
				'step' => 1,
			),
		),
	)
),
'f_time' => array (
	'exclude' => 0,
	'label' => 
'LLL:EXT:test_tcaslider/locallang_db.xml:tx_testtcaslider_sliderfields.f_time',
	'config' => array (
		'type' => 'input',
		'size' => '5',
		'eval' => 'time',
		'min'  => 0,
		'max'  => 86400,
		'wizards' => array(
			'_PADDING' => 2,
			'slider' => array(
				'type' => 'slider',
				'step' => 600,
			),
		),
	)
),

vg Steffen


More information about the TYPO3-project-v4 mailing list