[TYPO3-german] Mehrere Bilder korrekt ausgeben...
    bernd wilke 
    x00nsji02 at sneakemail.com
       
    Tue Sep  9 01:13:34 CEST 2008
    
    
  
walk2moon schrieb am Tue, 09 Sep 2008 00:12:56 +0200:
> Hallo Bernd,
> 
> danke für deinen Tipp. Das ist gut. nur was mache ich, wenn ich mehrere
> Bilder habe und diese über einen Marker ausgeben will? Das versteh ich
> noch nicht ganz.
na so, wie das auch sonst gemacht wird:
$imglist = explode(',',$imgfield);
$markerfeld = '';
foreach ($imglist as $imgname) {
	$img = $this->berechneImg($imgname);
	$markerfeld .= $img;
}
$markerArray['images'] = $markerfeld;
$content .= $this->cObj->substituteMarkerArray($templatepart,
$markerArray,'###|###',$uppercase=1);
Bernd
-- 
http://www.pi-phi.de/t3v4/cheatsheet.html
    
    
More information about the TYPO3-german
mailing list