[TYPO3-dev] custom image stdWrap

Bartosz Aninowski bart at REM-IT-sonik.pl
Tue Feb 12 10:21:16 CET 2008


Hi
Here is my piece of code
//php ext
$subPart2['###ZDJECIE###'] = 
$this->cObj->stdWrap($this->cObj->IMAGE($this->conf['imageMore.']), 
$this->conf['imagePodKategoria_stdWrap.']);

/ts
imagePodKategoria_stdWrap.wrap = <div class="left-kategoria">|</div>

I want  to add "<div class="left-kategoria"></div>"  to marker ###ZDJECIE### 
only if image exists.
stdWrap working as it should with normal text field fg:
$subPart2['###CONTENT###'] = $this->cObj->stdWrap($row['bodytext'], 
$this->conf['contentnext3_stdWrap.']);
but not with $this->cObj->IMAGE
any idea why?
or  am I doing something wrong?

bart






More information about the TYPO3-dev mailing list