[TYPO3-core] RFC: Bug #4770: css_styled_content - rowSpace also puts space below last image row

Benjamin Mack mack at xnos.org
Tue Nov 27 10:32:54 CET 2007


Hey Ernesto,

Ernesto Baschny [cron IT] wrote:
> Looks ok to me, with the following modification: Imagine that there are
> people using css_styled_content with "custom" TypoScript, meaning they
> have a "tt_content.textpic >" at the start of their template and define
> their own TypoScript for the whole rendering. This change of behaviour
> in PHP you are introducing makes the "old TypoScript" stop working as
> expected, as the last row won't get any wrapping at all if there is no
> "imageLastRowStdWrap" configuration.
> 
> So to keep the output backwards compatible I would like the code to
> fallback to wrapping with "imageRowStdWrap" if "imageLastRowStdWrap" is
> not defined.
Yep, I'll make a patch for that.


> Doesn't it make sense to change the default css in compatVersion 4.2.0,
> so that we get not only the new class but also a correct rendering "by
> default" in new installations? The problem is that we would need to add
> a "string" to plugin.tx_cssstyledcontent._CSS_DEFAULT_STYLE. Is this
> doable in TypoScript?
I dunno really, we'd need a
plugin.tx_cssstyledcontent.CSS_DEFAULT_STYLE += ...
:)
Would be a great addition for TS if this would be possible btw... :)

Otherwise we need to copy the _CSS_DEFAULT_STYLE and just add the lines.

greetings,
benni.
-SDG-


More information about the TYPO3-team-core mailing list