Actions
Feature #73669
closedTCA: need for a passthrough with user type
Status:
Rejected
Priority:
Could have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2016-02-25
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:
Description
The TCA offers a type "passthrough" and a type "user". However it is necessary to allow a "user" type to use the passthrough as well.
I suggest to use a new subconfiguration "db" with the value "passthrough" in this case. This field does not exist in the database table. It is a generated output.
'privateField' => Array ( 'exclude' => 1, 'label' => 'LLL:EXT:myext/locallang_db.xml:tx_myext_table.privatField', 'config' => Array ( 'type' => 'user', 'size' => '30', 'db' => 'passthrough', 'userFunc' => 'EXT:myext/hooks/class.tx_myext_hooks_be.php:tx_myext_hooks_be->displayPrivateField', 'parameters' => array( 'format' => 'html' ), ) ),
Updated by Christian Kuhn over 7 years ago
- Status changed from New to Rejected
you could use type=passthrough with an own renderType.
Updated by Franz Holzinger over 7 years ago
- Complexity set to medium
How should this be possible, to have a "type=user" and a "type=passthrough" at the same time? I still need the "type=user" to have the extension code called.
Updated by Christian Kuhn over 7 years ago
use type=passthrough with an own renderType that does the display. see formEngine docs in t3 core api docs for details.
Actions