[TYPO3-core] RFC: Feature #6770: Implement option to use different Flexform Datastructures per type field value

Ingmar Schlecht ingmar at typo3.org
Tue Nov 20 02:02:31 CET 2007


This is an SVN patch request.

Type: New feature

Bugtracker references:
http://bugs.typo3.org/view.php?id=6770

Branch: trunk

Problem:
Currently it's not possible to make tceforms use different Flexform
datastructures for the pi_flexform field based on the Content Type
(CType) of the tt_content table because the plugin field ("list_type")
is already defined to be the ds_pointerfield in this case.

However, to have Flexform configuration for the "table" and "login"
Content Elements as well, it is necessary to optionally define different
DataStructures per CType.

Solution:
Introduces the new TCA option "ds_altSrcPointer_perType" to flexform fields.

The patch also patches css_styled_content to use that new option instead
of overriding the whole "default" DS key (which it used to do!).

Notes:
This patch is a necessary precondition for the newloginbox core
integration currently being done by Steffen Kamper.

Documentation of the new property is attached as a text file.

cheers
Ingmar

-- 
Ingmar Schlecht
TYPO3 Association Active Member

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ds_altSrcPointer_perType.patch
Type: text/x-diff
Size: 2711 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071120/6d0a2e7d/attachment-0001.patch 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ds_altSrcPointer_perType_docChanges.txt
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071120/6d0a2e7d/attachment-0001.txt 


More information about the TYPO3-team-core mailing list