2
votes

How is it possible to set in Page TSConfig the default value for "Number of Columns" in TYPO3 V7.6? In erlier versions it was possible with TCEFORM.tt_content.imagecols = 1. If I set in V7.6 TCEFORM.tt_content.imagecols = 1 it makes no different which value is set. There is always imagecols = 2 set.

I have PHP 7.0.7 and use the rendering extension fluid_styled_content (not css_styled_content). Is there something I am missing?

Thanks in advance for your help.

1
The rendering extension does not have influence on stuff configured via TCEFORM, which is only relevant for the default value in backend forms (FormEngine, formerly known as TCEforms. What exactly are you trying to achieve? Do you want to set the number of columns in the frontend or do you want to set the default value provided in the form?Andreas Wolf
I'd like to achieve in the backend form for content element "text & media", that "number of columns" in tab appearance is set for default value to 1.Dan
I’ll check that later today, sounds like a bug to me.Andreas Wolf
Thank you, that's very kind.Dan
I just tried that on 6.2 and 7.6, and it did not work on both. I looked it up in the manual and according to docs.typo3.org/typo3cms/TSconfigReference/PageTsconfig/TCEform/…, the following should work: TCEFORM.tt_content.imagecols.config.default = 5—but it doesn’t.Andreas Wolf

1 Answers

1
votes
TCAdefaults.tt_content.imagecols = 1

works for me in TYPO3 7.6.11

TCEFORM.tt_content.imagecols.config.default = 1 is not working, as described op.

Be aware: This config never works if you switch content type after saving a content:

https://forge.typo3.org/issues/75233