Feature #28314
closedTCA: Allow parameters to be specified for userFunc
100%
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)
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change I9c490d26330dcdfdac375b59793d67b7597b49d4 has been pushed to the review server.
It is available at http://review.typo3.org/3414
Updated by Xavier Perseguers over 13 years ago
Example of use: http://yfrog.com/kfqd8vp and article describing the whole process: http://xavier.perseguers.ch/en/tutorials/typo3/articles/google-map-in-tca.html
Updated by Xavier Perseguers over 13 years ago
- Status changed from New to Under Review
Updated by Mr. Hudson over 13 years ago
Patch set 2 of change I9c490d26330dcdfdac375b59793d67b7597b49d4 has been pushed to the review server.
It is available at http://review.typo3.org/3414
Updated by Mr. Hudson over 13 years ago
Patch set 3 of change I9c490d26330dcdfdac375b59793d67b7597b49d4 has been pushed to the review server.
It is available at http://review.typo3.org/3414
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change Ic808c7bc067f232d881631b790e41112fe53c44c has been pushed to the review server.
It is available at http://review.typo3.org/3432
Updated by Xavier Perseguers over 13 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Change has been successfully cherry-picked as 533ca8cee409ddc5bb2667d3e980f65ed0a40502.
Updated by Xavier Perseguers over 13 years ago
Updated by Xavier Perseguers over 12 years ago
- Status changed from Resolved to Closed
Updated by Ernesto Baschny over 11 years ago
- Target version deleted (
4.6.0-beta1)