Einzelnen Beitrag anzeigen
  #10  
Alt 01.04.08, 13:55
rosieres rosieres ist offline
Forum Stammgast
 
Registriert seit: 12.07.07
Beiträge: 338

Nochmal zusammenfassend:

class.tx_rsyscsv2front_pi1.php
PHP-Code:
    foreach($words as $word){
    
        if(
preg_match('".jpg"'$word)===1){
            
            
$image = array(
             
'file' => 'fileadmin/farben/'.$word,
             );
             
      
$img $conf["image."];

foreach (
$conf as $key => $value) {
echo 
$key;
echo 
$value;
}

      
$img['file'] = $image;
            
$word $this->cObj->IMAGE($img);
            
$content .= $word .' ';
        } else {
            
$content "<p>$word</p>";
        }

    } 
gibt mir das conf array aus : userFunctx_rsyscsv2front_pi1->mainimageIMAGEimage.Array

/static/frontend/setup.txt

PHP-Code:
plugin.tx_rsyscsv2front_pi1 {
image {
imageLinkWrap 1
imageLinkWrap 
{
enable 1
ATagParams 
rel="lightbox"
}

Statisch eingebunden ist das ganze im Basistemplate.

Geändert von rosieres (01.04.08 um 14:30 Uhr). Grund: punkte vergessen
Mit Zitat antworten