Feature #28314
closed
TCA: Allow parameters to be specified for userFunc
Added by Xavier Perseguers over 13 years ago.
Updated over 11 years ago.
Description
Example of a Google Map user-defined field in TCA:
'map' => array(
'label' => 'Google Map',
'config' => array(
'type' => 'user',
'userFunc' => 'Tx_MyExt_Tca_Map->render',
'parameters' => array(
'latitude' => 'gps_latitude',
'longitude' => 'gps_longitude',
),
),
),
This allows use of "parameters" to provide additional information to the userFunc (here providing the fields used to store latitude/longitude to allow the userFunc to provide a Google Map that dynamically update the coordinates when moving a marker on the map)
Patch set 1 of change I9c490d26330dcdfdac375b59793d67b7597b49d4 has been pushed to the review server.
It is available at http://review.typo3.org/3414
- Status changed from New to Under Review
Patch set 2 of change I9c490d26330dcdfdac375b59793d67b7597b49d4 has been pushed to the review server.
It is available at http://review.typo3.org/3414
Patch set 3 of change I9c490d26330dcdfdac375b59793d67b7597b49d4 has been pushed to the review server.
It is available at http://review.typo3.org/3414
Patch set 1 of change Ic808c7bc067f232d881631b790e41112fe53c44c has been pushed to the review server.
It is available at http://review.typo3.org/3432
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Change has been successfully cherry-picked as 533ca8cee409ddc5bb2667d3e980f65ed0a40502.
- Status changed from Resolved to Closed
- Target version deleted (
4.6.0-beta1)
Also available in: Atom
PDF