[TYPO3-english] CASE object via stdWrap for styles.content.imgtext.maxW possible?
Roland
most.wanted at gmx.at
Mon Jul 2 12:23:10 CEST 2012
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
More information about the TYPO3-english
mailing list