Bug #16676
closeddefault setting for imageorient does not work
100%
Description
Setting a default Value for imageorient in tt_content does not work!
I've tried this in User, Group and Site TSconfig
TCAdefaults.tt_content.imageorient = 2
(issue imported from #M4448)
Updated by taywa gmbh about 14 years ago
still dosent work in 4.4.4! tested in userconfig
TCAdefaults.tt_content.imageorient = 26
For me as an Workaround in pageTS, remove all imageorient exept the 26.
TCEFORM.tt_content.imageorient.removeItems = 0, 1, 2, 8, 9, 10, 17, 18, 25, --div--
Updated by Josef F. Glatz (Old User) over 13 years ago
TCA "doesn't cares" about default values... it's in the wizard
- classic page module
mod.wizards.newContentElement.wizardItems.common.elements.textpic.tt_content_defValues.imageorient = 18
- templavoila
templavoila.wizards.newContentElement.wizardItems.common.elements.textpic.tt_content_defValues.imageorient = 18
Updated by Christian Knuth over 12 years ago
- Target version changed from 0 to 4.7.5
still present in 4.7.1
i think this is a common expected behaviour that
TCEFORM.tt_content.imageorient.default = 18
or
TCAdefaults.tt_content.imageorient = 18
is changing the default for creating new elements. But unfurtunately it does still not work this way.
Updated by Frank Nägler over 10 years ago
this bug is still present in 6.2.3, I think after seven years, this should be fixed ;)
Updated by Stefan Neufeind about 10 years ago
- Description updated (diff)
- Is Regression set to No
Just stumbled across this as well, current master (post-6.2). And of course that installation I had also still used TemplaVoila. How counter-intuitive is that :-(
Updated by Markus Klein about 10 years ago
- Status changed from New to Accepted
- Target version changed from 4.7.5 to next-patchlevel
Updated by Mathias Schreiber about 9 years ago
- Target version deleted (
next-patchlevel)
Updated by René Fritz about 9 years ago
Still not working in 7.6:
TCEFORM.tt_content.imageorient.default = 2
TCAdefaults.tt_content.imageorient = 2
This works:
mod.wizards.newContentElement.wizardItems.common.elements.image.tt_content_defValues.imageorient = 2
mod.wizards.newContentElement.wizardItems.common.elements.textpic.tt_content_defValues.imageorient = 2
I didn't dive very deep, but in DatabaseRowDefaultValues imageorient is already set (to 17) so a default value will not applied by the code afterwards.
Updated by Frank Nägler over 8 years ago
- Status changed from Accepted to In Progress
- Assignee set to Frank Nägler
Updated by Gerrit Code Review over 8 years ago
- Status changed from In Progress to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47266
Updated by Gerrit Code Review over 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47266
Updated by Gerrit Code Review over 8 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47266
Updated by Frank Nägler over 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3a271ae2b2f49928d16201b786d159bacd2b24a5.