[TYPO3-core] RFC: Bug/Feature #10173: Content element wizard doesn't respect TCAdefaults

Martin Kutschker masi-no at spam-typo3.org
Sat Jan 17 20:23:53 CET 2009


Ralf Hettinger schrieb:
> This is an SVN patch request.
> 
> Type: Bugfix / Feature
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=10173
> 
> Branches:
> trunk only, since change of behaviour
> 
> Problem:
> When inserting new content elements via the new content element wizard,
> there are some fixed defValues set by this wizard for CType textpic,
> image and menu that should be not set with a fixed value any longer
> since there exists a better and more flexible possibility by using
> TCAdefaults.
> At the moment, TCAdefaults can't have effect when creating new
> tt_content elements by using the wizard for
> CType textpic: imageorient (always set to 17 by the wizard)
> CType image: imagecols (always set to 2 by the wizard)
> CType menu: menu_type (always set to 2 by the wizard)
> 
> Solution:
> Remove default values set by this wizard

And then? Of course the admin can set up any TCAdefaults he likes. I see
you point that the wizard should honour the defaults, but I think it is
wrong to remove them completely.

Better would be to check if there are any TCAdefaults and set the wizard
defaults only when none were found.

Masi


More information about the TYPO3-team-core mailing list