.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ========================= 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: EXT: Additional TCA Forms ========================= Extension Key: jftcaforms Language: en Keywords: TCA, forms, slider extjs Copyright 2000-2010, Juergen Furrer, 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: Table of Contents ----------------- `EXT: Additional TCA Forms 1 <#__RefHeading__1191_213643113>`_ **`Introduction 3 <#__RefHeading__1193_213643113>`_** `What does it do? 3 <#__RefHeading__1195_213643113>`_ `Screenshots 3 <#__RefHeading__1197_213643113>`_ **`Users manual 4 <#__RefHeading__1199_213643113>`_** **`Administration 5 <#__RefHeading__1203_213643113>`_** `Slider 5 <#__RefHeading__1301_1457174521>`_ `Color picker 5 <#__RefHeading__1303_1457174521>`_ **`Known problems 6 <#__RefHeading__1215_213643113>`_** **`To-Do list 7 <#__RefHeading__1217_213643113>`_** **`ChangeLog 8 <#__RefHeading__1219_213643113>`_** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ This extension provides additional TCA Forms for the backend. At this moment these forms are supported: Slider, ColorPicker .. _Screenshots: Screenshots ^^^^^^^^^^^ |img-3| |img-4| .. _Users-manual: 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: Administration -------------- .. _Slider: 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 ) ), ); .. ### BEGIN~OF~TABLE ### .. _width: width """"" .. container:: table-row Property width Data type integer Description Defines the with of the slider Default .. _range-lower: range.lower """"""""""" .. container:: table-row Property range.lower Data type decimal Description Defines the minimal value of the slider Default .. _range-upper: range.upper """"""""""" .. container:: table-row Property range.upper Data type decimal Description Defines the upper value of the slider Default .. _decimalPrecision: decimalPrecision """""""""""""""" .. container:: table-row Property decimalPrecision Data type integer Description Defines the decimal precision (count of the digits) Default .. _emptyValue: emptyValue """""""""" .. container:: table-row Property emptyValue Data type boolean Description If set, your able to set an empty value (from TS) Default .. ###### END~OF~TABLE ###### .. _Color-picker: 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 ) ), ); .. ### BEGIN~OF~TABLE ### .. _emptyValue: emptyValue """""""""" .. container:: table-row Property emptyValue Data type boolean Description If set, your able to set an empty value (from TS) Default .. ###### END~OF~TABLE ###### .. _Known-problems: Known problems -------------- Report bugs at `http://forge.typo3.org/projects/show/extension- jftcaform `_ .. _To-Do-list: To-Do list ---------- Report features at `http://forge.typo3.org/projects/show/extension- jftcaform `_ .. _ChangeLog: ChangeLog --------- .. ### BEGIN~OF~TABLE ### .. _0-0-1: 0.0.1 ^^^^^ .. container:: table-row Version 0.0.1 Changes Initial development .. _0-0-2: 0.0.2 ^^^^^ .. container:: table-row Version 0.0.2 Changes Add support for TYPO3 4.5 .. _0-1-0: 0.1.0 ^^^^^ .. container:: table-row Version 0.1.0 Changes Add documentation / Add support for TYPO3 4.5 / Add experimental spinner .. _0-1-1: 0.1.1 ^^^^^ .. container:: table-row Version 0.1.1 Changes Convert linefeed to Unix .. _0-2-0: 0.2.0 ^^^^^ .. container:: table-row Version 0.2.0 Changes Add color picker (#29103) .. _0-2-1: 0.2.1 ^^^^^ .. container:: table-row Version 0.2.1 Changes Security fix, please upgrade .. _0-2-2: 0.2.2 ^^^^^ .. container:: table-row Version 0.2.2 Changes Remove deprecated methods (#36599) .. _0-2-3: 0.2.3 ^^^^^ .. container:: table-row Version 0.2.3 Changes Fix t3lib\_utility\_VersionNumber::convertVersionNumberToInteger for older typo3 versions .. _0-2-4: 0.2.4 ^^^^^ .. container:: table-row Version 0.2.4 Changes Remove devLog-entry if checkbox is on for color-picker .. _0-2-5: 0.2.5 ^^^^^ .. container:: table-row Version 0.2.5 Changes Add color-picker preview (#43858) / Fix color-picker in IRRE (#43861) .. _0-2-6: 0.2.6 ^^^^^ .. container:: table-row Version 0.2.6 Changes Add support for TYPO3 6.2 .. ###### END~OF~TABLE ###### |img-2| 9 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. |img-2| image:: img-2.png .. :border: 0 .. :height: 21 .. :hspace: 9 .. :id: Grafik2 .. :name: Grafik2 .. :width: 87 .. |img-3| image:: img-3.png .. :align: left .. :border: 0 .. :height: 56 .. :id: Grafik1 .. :name: Grafik1 .. :width: 266 .. |img-4| image:: img-4.png .. :align: left .. :border: 0 .. :height: 200 .. :id: Grafik3 .. :name: Grafik3 .. :width: 377