this works:
--- quote ---
tt_content.image.20.maxW.override >
tt_content.image.20.maxW.cObject = CASE
tt_content.image.20.maxW.cObject {
key.field = imagecols
1 = TEXT
1.value = 413
2 = TEXT
2.value = 370
}
--- /quote ---
...i mixed up typoscirpt constans and typoscript setup.
kind regards.
roland
Am 02.07.12 12:23, schrieb Roland:
hi everybody,
should something like this work?
--- quote ---
styles.content.imgtext.maxW.stdWrap.cObject = CASE
styles.content.imgtext.maxW.stdWrap.cObject {
key.field = imagecols
1 = TEXT
1.value = 413
2 = TEXT
2.value = 370
default = TEXT
default.value = 370
}
--- /quote ---
i would like to set the maxW depending on the number of cols set in the
image content element.
in class.tx_cssstyledcontent_pi1.php you can find this:
--- quote ---
$maxW = intval($this->cObj->stdWrap($conf['maxW'], $conf['maxW.']));
--- /quote ----
i guess this means, that stdWrap should be possible, shouldn't it?
unfortunatelly my typoscript snippet does not set any maxW at all.
maybe the key.fild settings can not work in this context?
kind regards.
roland
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english