DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: Additional TCA Forms

Created:2010-02-18T17:33:18
Changed by:Jürgen Furrer
Changed:2014-08-10T10:51:08
Classification:jftcaforms
Keywords:TCA, forms, slider extjs
Author:Juergen Furrer
Email:juergen.furrer@gmail.com
Info 4:
Language:en

img-1 img-2 EXT: Additional TCA Forms - jftcaforms

EXT: Additional TCA Forms

Extension Key: jftcaforms

Language: en

Keywords: TCA, forms, slider extjs

Copyright 2000-2010, Juergen Furrer, <juergen.furrer@gmail.com>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.org

Table of Contents

EXT: Additional TCA Forms 1

`Introduction 3 <#__RefHeading__1193_213643113>`_

What does it do? 3

Screenshots 3

`Users manual 4 <#__RefHeading__1199_213643113>`_

`Administration 5 <#__RefHeading__1203_213643113>`_

Slider 5

Color picker 5

`Known problems 6 <#__RefHeading__1215_213643113>`_

`To-Do list 7 <#__RefHeading__1217_213643113>`_

`ChangeLog 8 <#__RefHeading__1219_213643113>`_

Introduction

What does it do?

This extension provides additional TCA Forms for the backend.

At this moment these forms are supported: Slider, ColorPicker

Screenshots

img-3 img-4

Users manual

With this extension, the user is able to set a value from a range by moving the slider left or right.

If you have a checkbox near the slider, your able to set an empty value to this slider, so you can use the TS value for an option.

Administration

Slider

To add a slider to your TCA use the following array:

$tempColumns = array (
  "tx_mininews_frontpage_list" => array(
    "exclude" => 1,
    "label" => 'LLL:EXT:mininews/locallang_db.php:tt_content.tx_mininews_frontpage_list',
    "config" => array(
      "form_type" => 'user',
      "userFunc" =>
         'EXT:jftcaforms/lib/class.tx_jftcaforms_tceFunc.php:&tx_jftcaforms_tceFunc->getExtSlider',
      "width" => 300,
      "range" => array(
        "lower" => 0,
        "upper" => 2
      ),
      "decimalPrecision" => 2,
      "emptyValue" => true
    )
  ),
);
width

Property

width

Data type

integer

Description

Defines the with of the slider

Default

range.lower

Property

range.lower

Data type

decimal

Description

Defines the minimal value of the slider

Default

range.upper

Property

range.upper

Data type

decimal

Description

Defines the upper value of the slider

Default

decimalPrecision

Property

decimalPrecision

Data type

integer

Description

Defines the decimal precision (count of the digits)

Default

emptyValue

Property

emptyValue

Data type

boolean

Description

If set, your able to set an empty value (from TS)

Default

Color picker

To add a color picker to your TCA use the following array:

$tempColumns = array (
  "tx_myext_list" => array(
    "exclude" => 1,
    "label" => 'LLL:EXT:myext/locallang_db.php:tt_content.tx_myext_list',
    "config" => array(
      "form_type" => 'user',
      "userFunc" =>
         'EXT:jftcaforms/lib/class.tx_jftcaforms_tceFunc.php:&tx_jftcaforms_tceFunc->getColorPicker',
      "emptyValue" => true
    )
  ),
);
emptyValue

Property

emptyValue

Data type

boolean

Description

If set, your able to set an empty value (from TS)

Default

ChangeLog

0.0.1

Version

0.0.1

Changes

Initial development

0.0.2

Version

0.0.2

Changes

Add support for TYPO3 4.5

0.1.0

Version

0.1.0

Changes

Add documentation / Add support for TYPO3 4.5 / Add experimental spinner

0.1.1

Version

0.1.1

Changes

Convert linefeed to Unix

0.2.0

Version

0.2.0

Changes

Add color picker (#29103)

0.2.1

Version

0.2.1

Changes

Security fix, please upgrade

0.2.2

Version

0.2.2

Changes

Remove deprecated methods (#36599)

0.2.3

Version

0.2.3

Changes

Fix t3lib_utility_VersionNumber::convertVersionNumberToInteger for older typo3 versions

0.2.4

Version

0.2.4

Changes

Remove devLog-entry if checkbox is on for color-picker

0.2.5

Version

0.2.5

Changes

Add color-picker preview (#43858) / Fix color-picker in IRRE (#43861)

0.2.6

Version

0.2.6

Changes

Add support for TYPO3 6.2

img-2 9