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

Reply via email to