[TYPO3-english] spaceBefore and spaceAfter of Content Elements gone for good?

Arne-Kolja Bachstein a at arnekolja.de
Tue Nov 10 10:28:02 CET 2015


Hi,

I’m recommending not to do it, or to change the intended behavior completely.

Adding just input fields for it will break your content strategy, as every editor is able to add custom values that do not play well with your layout. Editors are evil when it comes to this ;) Additionally, you’ll be having trouble with different browser sizes. Additional margin on columns that break to rows when having a small display (e.g. smartphone) may result in out-of-context margins like a huge white area between two elements, that doesn’t belong there.

Regards

Arne

> Am 10.11.2015 um 09:46 schrieb Jörg Wagner <joerg.wagner at ma-x.de>:
> 
> Got it. The fields have been removed intentionally from FSC.
> See here: https://forge.typo3.org/issues/70447
> 
> I will now have to investigate options to add them back in.
> 
> Thanks for trying to help!
> 
> 
> 
> Am 10.11.15 um 08:53 schrieb Jörg Wagner:
>> Hi Xavier,
>> 
>> thanks for your very detailed answer! I investigated further and found
>> that the fields vanish when you switch on ext Fluid Styled Content and
>> switch off ext "CSS styled content" as described in
>> https://wiki.typo3.org/TYPO3.CMS/Releases/7.5/Important#Migration
>> 
>> When done the Install tool's Database Compare will also suggest to
>> remove the fields spaceBefore and spaceAfter from the database.
>> 
>> So it seams that they have been intentionally removed in Fluid Styled
>> Content CEs.
>> 
>> Cheers, Jörg
>> 
>> 
>> Am 10.11.15 um 08:16 schrieb Xavier Perseguers:
>>> Hi Jörg,
>>> 
>>> On 09/11/15 23:38, Jörg Wagner wrote:
>>>> It seems that somewhere on the way from 6.2 to 7 LTS the tt_content
>>>> fields spaceBefore and spaceAfter have been removed. Consequentially the
>>>> Content Elements have lost their "Top Margin" and "Bottom Margin" fields
>>>> too.
>>>> I cannot find any information about this removal on the web. Has this
>>>> been intentional or is it a bug? What is the rational and what is the
>>>> recommended way to add additional spacing between content elements from
>>>> now on?
>>> 
>>> When I open one of my CE "text" I see
>>> 
>>> +------------------------------------------------------+
>>> | General | *Appearance* | Access | Categories         |
>>> +---------+              +-----------------------------+
>>> | Content Element Layout                               |
>>> |                                                      |
>>> | Layout                        Top Margin             |
>>> | <dropdown>                    <text field>           |
>>> |                                                      |
>>> | Bottom Margin                 Indentation and Frames |
>>> | <text field>                  <dropdown>             |
>>> |                                                      |
>>> +------------------------------------------------------+
>>> 
>>> So I fear I don't understand what you mean.
>>> 
>>> Kind regards
>>> 
>> 
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list