Bug #16676
closed
default setting for imageorient does not work
Added by Sascha Egerer about 18 years ago.
Updated about 6 years ago.
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)
Still present in 4.4beta2.
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--
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
- 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.
this bug is still present in 6.2.3, I think after seven years, this should be fixed ;)
- 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 :-(
- Status changed from New to Accepted
- Target version changed from 4.7.5 to next-patchlevel
- Target version deleted (
next-patchlevel)
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.
- Status changed from Accepted to In Progress
- Assignee set to Frank Nägler
- Status changed from In Progress to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF