[Typo3-dev] New cron_cssstyledimgtext released
Martin Ficzel
martin.ficzel at gmx.de
Wed Oct 12 18:57:01 CEST 2005
Ernesto Baschny [cron IT] wrote:
> Please play around with it, and be welcome to sponsor further
> development! ;)
i found a little issue with this extension
class.tx_croncssstyledimgtext_pi1.php::line359ff
> // calculating the tableWidth:
> // TableWidth problems: It creates problems if the pictures are NOT as wide as the tableWidth.
> $tableWidth = max($imageRowsFinalWidths)+ $colspacing*($colCount) + $colCount*$border*($borderSpace+$borderThickness)*2;
i think the colspacing is calculated wrong i would suggest to change
from "$colspacing*($colCount)" to "$colspacing*($colCount-1)"
another problem i had was the typoscript setup for tt_content.textpic
and tt_content.image.
in ext:css_styled_content the tt_content.textpic is a reference to
tt_content.textpic with the textfiled added. so changes to
tt_content.image will affect also the tt_content.textpic object. i think
the extension default typoscript should behave the same way. until now
it is not a reference but a copy wich makes it necessary to create many
settings twice.
regards, Martin
More information about the TYPO3-dev
mailing list