Artilliste

emergence
Beiträge: 10644
Registriert: Mo 28. Jul 2003, 12:49
Wohnort: Austria
Kontaktdaten:

artikelliste blättern

Beitrag von emergence » Di 12. Jul 2005, 13:13

ich poste das mal hier damit man es mal leichter findet...

zum thema artikelliste blättern und das es manchmal nicht korrekt funktioniert bzw. die url / uris immer länger werden....

-> http://contenido.org/forum/viewtopic.php?p=51518#51518
*** make your own tools (wishlist :: thx)

Jeannette
Beiträge: 3
Registriert: Mo 2. Aug 2004, 14:51
Kontaktdaten:

aktuellste Version

Beitrag von Jeannette » Mo 8. Aug 2005, 16:43

hallo alle mitenander,

ich blicke bei den ganzen Antworten und fragen jetzt gar nicht mehgr genu durch, welches die aktuellste, funktionierende Lösung ist.
Kann die nochmal jamnd posten?
Also das komplette Modul bitte...

Vielen Dank,

Jeannette

jost
Beiträge: 322
Registriert: Mo 10. Jan 2005, 20:12
Kontaktdaten:

Beitrag von jost » Mo 8. Aug 2005, 18:29

Die von Herrn B. (siehe die B'sche Signatur) kannst Du nehmen. Ich wundere mich höchst energisch, wieso 4fb einunddreißig Jahre braucht, um ein Verzeichnis der gültigen Module anzubieten. Herrgottnochmal, hat den niemand ein Einsehen? Müssen alle erst zu cmsmadesimple oder Snode wechseln?

"Die Module spielen verrückt" heisst nicht ohne Grund ein Smasher auch den Achtz'gern!

Jeannette
Beiträge: 3
Registriert: Mo 2. Aug 2004, 14:51
Kontaktdaten:

Beitrag von Jeannette » Di 9. Aug 2005, 11:29

Ich verzweifel gerade. Ich habe jetzt die verschiedenen Versionen ausprobiert, aber so richtig klappt es nie.
Kann mal jemand kurz drüberschauen?

Bekomme folgende fehlermeldung :

Code: Alles auswählen

MySQL error 1064: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ARTLANG.online = '1' ORDER BY ARTLANG.lastmodified DESC limit 5
SELECT ARTLANG.idart, ARTLANG.idartlang, ARTLANG.lastmodified FROM con_cat_art AS CATART, con_art_lang AS ARTLANG WHERE CATART.idcat = '12' AND ARTLANG.idart = CATART.idart AND ARTLANG.idlang = '1'  AND CATART.is_start = '0' ARTLANG.online = '1' ORDER BY ARTLANG.lastmodified DESC limit 55
[08-Aug-2005 19:42:29] next_record called with no query pending.
[08-Aug-2005 19:45:30] PHP Parse error:  parse error in /xxx/xxx/xxx/xxx.de/httpdocs/test/wat/cms/front_content.php(567) : eval()'d code on line 438

Code: Alles auswählen

Hier mein Input:
/** 
* CONTENIDO MODUL - INPUT 
* 
* Erweiterte Artikel liste Version 1.1 mit Seitenzählung 
* 
* Liste von Artikeln mit mehreren Daten basierend 
* auf 4fb referenz modul 
* 1.Gibt die Subheadline eines Artikel mit aus 
* 2.Anschnitte nur nach ganzen Wörtern 
* 3.Thumnails werden vernünftig berechnet 
* 4.Image für Erzeugung von Thumbs kann gewählt werden 
* Author : Evert Smit / Dirk Uptmoor / Peter Beauvain 
* Copyright : None 
* Created : 13-07-03 
* Modified : 16-08-02 /20-09-03 upt /02-02-04 Beau/04-04-04 Beau 
*/ 


// selected category 
$selected = "CMS_VALUE[0]"; 
$seldir = "CMS_VALUE[9]"; 
$selimg = "CMS_VALUE[11]"; 
//funktion für die checkboxen 
function d_checked($which) { 
  if ($which != "") { 
    return "checked"; 
  } 
} // end function 



echo "<table cellspacing=\"0\" cellpadding=\"2\" border=\"0\"> 
          
  <tr> 
         <td></td> <td></td><td width=\"120\">Anzahl Einträge/Seite:   </td><td></td> 
          <td><input type=\"text\" name=\"CMS_VAR[8]\" value=\"CMS_VALUE[8]\"></td></tr> 

<tr bgcolor=\"#E8E8EE\" valign=\"top\"> 
            <td></td> 
            <td><input type=\"checkbox\" value=\"on\" ".d_checked("CMS_VALUE[14]")." name=\"CMS_VAR[14]\"></td> 
            <td width=\"120\">Ausgabe mit Startartikel</td> 
            <td></td> 
<td>Kategorie wählen:<br> 
          
<select name=\"CMS_VAR[0]\">"; 

if($selected!="0" && $selected!=""){ 
             echo"<option value=\"0\">--- kein ---</option>"; 

            }else{ 
            echo"<option selected=\"selected\" value=\"0\">--- kein ---</option>"; 
            } 

            // fetch all categorys 
            $query = "SELECT A.idcat, A.level, C.name FROM ".$cfg["tab"]["cat_tree"]." AS A, ". 
                     $cfg["tab"]["cat"]." AS B,  ".$cfg["tab"]["cat_lang"]." AS C WHERE A.idcat=B.idcat ". 
                     "AND B.idcat=C.idcat AND C.idlang='$lang' AND B.idclient='$client' ". 
                     "AND C.visible=1 ORDER BY A.idtree"; 
            // execute query 
            $db->query($query); 

            // loop result and build the options 
            while ($db->next_record()) { 

              // indent spacer 
              $spaces = "|"; 

              // how many levels 
              $levels = $db->f("level"); 

              for ($i = 0; $i < $levels; $i ++) { 
                // add 2 spaces for every level 
                $spaces = $spaces . "--"; 

              } // end for 
              
              $spaces .= ">"; 


              if ($selected == $db->f("idcat")) { 
                // selected category 
                echo "<option selected=\"selected\" value=\"". $db->f("idcat") ."\">". $spaces . $db->f("name") ."</option>"; 

              } else { 
                // category 
                echo "<option value=\"". $db->f("idcat") ."\">". $spaces . $db->f("name") ."</option>"; 

              } // end if 

            } // end while 

echo "</select>"; 


        
echo "</td> 
<td></td>      
</tr> 
      <tr valign=\"top\"> 
         <td></td> 
         <td></td> 
         <td width=\"120\"></td> 
            <td></td> 
            <td>Überschrift: (wenn leer, keine Ausgabe)<br> 
               <input type=\"text\" name=\"CMS_VAR[2]\" value=\"CMS_VALUE[2]\" size=\"24\"></td> 
         </tr> 
         <tr bgcolor=\"#E8E8EE\" valign=\"top\"> 
            <td></td> 
            <td> <input type=\"checkbox\" value=\"on\" ".d_checked("CMS_VALUE[4]")." name=\"CMS_VAR[4]\"> </td> 
            <td width=\"120\">Ausgabe der Artikel-Headline</td> 
            <td></td> 
            <td>Angezeigte Zeichen Artikel-Headline:<br> 
               <input type=\"text\" name=\"CMS_VAR[3]\" value=\"CMS_VALUE[3]\" size=\"24\"></td> 
         </tr> 
         <tr valign=\"top\"> 
            <td></td> 
            <td><input type=\"checkbox\" value=\"on\" ".d_checked("CMS_VALUE[5]")."  name=\"CMS_VAR[5]\"></td> 
            <td width=\"120\">Ausgabe der Artikel-Subheadline:</td> 
            <td></td> 
            <td>Angezeigte Zeichen Artikel-Subheadline:<br> 
               <input type=\"text\" name=\"CMS_VAR[6]\" value=\"CMS_VALUE[6]\" size=\"24\"></td> 
         </tr> 
         <tr bgcolor=\"#E8E8EE\" valign=\"top\"> 
            <td></td> 
            
<tr bgcolor=\"#E8E8EE\" valign=\"top\"> 
            <td></td> 
            <td><input type=\"checkbox\" value=\"on\" ".d_checked("CMS_VALUE[7]")."  name=\"CMS_VAR[7]\" ></td> 
            <td width=\"120\">Ausgabe der Thumbnails:</td> 
            <td></td> 
            <td>Bildcontainer für Thumbnail Quelle:<br>"; 
                

$db  = new DB_Contenido; 
$query = "SELECT output AS out, name AS beschreibung FROM ".$cfg["tab"]["mod"]." "; 
$db->query($query); 
echo"<select name=\"CMS_VAR[11]\">"; 
echo"<option value=\"kein\">-- kein --</option> "; 
while ($db->next_record()) { 
$frontendpath = $db->f("out"); 
$name = $db->f("beschreibung"); 

$rest = substr("$frontendpath", 3, 30); 

$find = strpos($rest,"CMS_IMG"); 
if ($find === false) { 

} 

else { 




$ok = substr($rest, $find, 10); 

$nummer = substr($ok, 8, 1); 


?> 
            <option value="<?php echo $nummer ?>"<?php if ($selimg == $nummer) echo " selected" ?>><?php echo $db->f("beschreibung") ?> 
<? 

} 


} 

echo" </option> </select> "; 














echo"</td> 

</tr> 
<td></td><td></td> 
<td width=\"120\">Thumbnail Ordner</td> 

<td></td><td>Bitte wählen:<br><select name=\"CMS_VAR[9]\" size=\"1\">"; 
echo"<option value=\"kein\">-- kein --</option>"; 

$db  = new DB_Contenido; 
$query = "SELECT DISTINCT dirname FROM ".$cfg["tab"]["upl"]." ORDER BY dirname ASC"; 
$db->query($query); 
while ($db->next_record()) { 

?> 
            <option value="<?php echo $db->f("dirname") ?>"<?php if ($seldir == $db->f("dirname")) echo " selected" ?>><?php echo $db->f("dirname") ?></option> 
<?php 
   } 
echo "</select></td> 


<tr valign=\"top\"> 
<td></td> 
<td></td> 
<td></td> 
<td></td> 

</tr> 
</table> 
"; //Ende 


Output:

Code: Alles auswählen

<? 
/*********************************************** 
* CONTENIDO MODUL - OUTPUT 
* 
* Erweiterte Artikel liste Version 1.1 mit Seitenzählung 
* 
* Liste von Artikeln mit mehreren Daten basierend 
* auf 4fb referenz modul 
* 1.Gibt die Subheadline eines Artikel mit aus 
* 2.Anschnitte nur nach ganzen Wörtern 
* 3.Thumnails werden vernünftig berechnet 
*   Author : Evert Smit / Dirk Uptmoor / Peter Beauvain 
* Copyright : None 
* Created : 13-07-03 
* Modified : 16-08-02 /20-09-03 upt /31-01-04 Beau/04-04-04 Beau 
************************************************/ 
switch ($eintrag) {      // das erste mal beim aufruf ist $eintrag undefiniert 
  case ""; 
    $eintrag = "0";      // deswegen wertzuweisung 0 
} 
//Frontendpfad ermitteln 
$query = "SELECT  frontendpath FROM ".$cfg["tab"]["clients"]." WHERE idclient='".$client."'"; 
$db->query($query); 
$db->next_record(); 
$frontendpath = $db->f("frontendpath"); 

$zps = "CMS_VALUE[10]";  // Anzahl der Einträge 
$max = ($eintrag + $zps); 
$meineseite=$auth->url(); 
//------------- erstmal zählen wieviel Artikel vorhanden sind -------------------- 


$startarton = "AND CATART.is_start = '0'";

//soll der startartikel mit ausgegeben werden?. 
$print_startartikel = "CMS_VALUE[14]"; 
if($print_startartikel !=""){ 
$startarton = "AND"; 

} 

//die Überschrift wird ausgegeben wenn sie nicht leer ist. 
$print_mainheadline = "CMS_VALUE[2]"; 

//soll headline ausgegeben werden? 
$print_headline = "CMS_VALUE[4]"; 

//soll subheadline ausgegeben werden? 
$print_subheadline = "CMS_VALUE[5]"; 

//soll ein thumnail ausgegeben werden? 
$print_thumbnail = "CMS_VALUE[7]"; 

//thumbnail breite 
$thumbnail_width = "CMS_VALUE[8]"; 

//wenn thumbnails = 0 
$imagetag = ""; 



// second db class instance 
$db2 = new DB_Contenido; 

// selected category 
$selcat = "CMS_VALUE[0]"; 

if($selcat!="0" && $selcat!=""){ 

// select all articles in category widthout start article 
$query = "SELECT ARTLANG.idart, ARTLANG.idartlang, ARTLANG.lastmodified FROM ".$cfg["tab"]["cat_art"]." AS CATART, ". 
$cfg["tab"]["art_lang"]." AS ARTLANG ". 
"WHERE CATART.idcat = '$selcat' AND ARTLANG.idart = CATART.idart AND ARTLANG.idlang = '$lang' "." $startarton " ."ARTLANG.online = '1' ORDER BY ARTLANG.lastmodified DESC limit 55"; 

// execute query 
$db->query($query); 

unset($articleID); 
unset($linkID); 

// get id's of sub articles 
while ($db->next_record()) { 
$articleID[] = $db->f("idartlang"); 
$linkID[] = $db->f("idart"); 
} // end while 


/****************** start table **************************/ 
echo ' 
<table border="0" borderstyle="dashed" cellpadding="1" cellspacing="2" width="500"> 
'; 


/**** Überschrift der Artikelliste wird ausgegeben, wenn nicht leer ********/ 

if($print_mainheadline !=""){ 
echo ' 
 <tr> 
<td bgcolor="#efefef" border="0" colspan="3" class="newsheadline">&nbsp;CMS_VALUE[2] <br>  </td> 
</tr> 

<tr> 
<td height="5" class="text">&nbsp; </td> 
<td align="right" > </td> 
</tr> '; 
} 
if($print_mainheadline ==""){ 
echo ' 
<tr> 
<td colspan="2" class="newsheadline">&nbsp;<br></td> 
<td align="right">  </td> 
</tr> 

<tr> 
<td bgcolor="#ffffff" class="text">&nbsp; </td> 
<td align="right" bgcolor="#ffffff"> </td> 
</tr> 
'; 
} 



// Loop through articles 
if (is_array($articleID)) { 
    foreach ($articleID as $key => $value) { 
    // select all CMS variables of the article 

    if($print_headline!="0" && $print_headline!=""){ 
    $sql = "SELECT * FROM ".$cfg["tab"]["content"]." WHERE idartlang = '$value' AND idtype = '1' AND typeid = '1'"; 

    $db->query($sql); 
    $db->next_record(); 
    

  $headline = urldecode($db->f("value")); 



for ($j=CMS_VALUE[3]; $j < CMS_VALUE[3]+20; $j++) 
{ 
$headline1 = substr($headline , 0, $j); 

$cut = substr($headline, $j); 
if ((ord ($cut) == 32)||(ord ($cut) == 44)||(ord ($cut) == 45)) { 

$headline= substr($headline , 0, $j); 
$headline .= ' .....'; 
       } 
    } 
} 




$cfgTab_art_lang = $cfg['tab']['art_lang']; 
$cfgTab_content = $cfg['tab']['content']; 

$sql = "SELECT A.author AS author, B.created AS lastmod FROM $cfgTab_art_lang AS A, $cfgTab_content AS B WHERE A.idart='$value' AND B.idartlang=A.idartlang ORDER BY B.created DESC"; 
$db->query($sql);$db->next_record();
$modifydate= date("d.m.y",strtotime($db->f("lastmod"))); 
$modifytime= date("H:i",strtotime($db->f("lastmod"))); 






    if($print_subheadline!="0" && $print_subheadline!=""){ 
    $sql_subheadline = "SELECT * FROM ".$cfg["tab"]["content"]." WHERE idartlang = '$value' AND idtype = '1' AND typeid = '2'"; 

    $db->query($sql_subheadline); 
    $db->next_record(); 

   $subheadline = urldecode($db->f("value")); 



for ($i=CMS_VALUE[6]; $i < CMS_VALUE[6]+20; $i++) 
{ 
$subheadline1 = substr($subheadline , 0, $i); 

$cut = substr($subheadline, $i); 
if ((ord ($cut) == 32)||(ord ($cut) == 44)||(ord ($cut) == 45)) { 

$subheadline= substr($subheadline , 0, $i); 
$subheadline .= ' .....'; 
       } 
    } 
} 





/******************* begin thumbnails **********************************/ 
if($print_thumbnail !="0" && $print_thumbnail !=""){ 

    // select and resolve image path 
    $imagesql="select value from ".$cfg["tab"]["content"]." where idartlang='$value' and idtype='4' and typeid='CMS_VALUE[11]'"; 
    $db2->query($imagesql); 
    $db2->next_record(); 
    $image_id= $db2->f("value"); 


    // get image name and path 
    $imagesql="select * from ".$cfg["tab"]["upl"]." where idupl='$image_id'"; 
    $db2->query($imagesql); 
    $db2->next_record(); 


    $webdir='upload/'; 
    $thumbdir='CMS_VALUE[9]'; 
    $filedir=$frontendpath; 
    $imagelocation=$filedir.$webdir.$db2->f('dirname').$db2->f('filename'); 
    $thumblocation=$filedir.$webdir.$thumbdir.$db2->f('filename'); 
    if (!file_exists($thumblocation)){ 
    // create thunbnail 
    $fileinformation=getimagesize($imagelocation); 
    $imagewidth = $fileinformation[0]; 
    $imageheight = $fileinformation[1]; 
    $imagetype=$db2->f('filetype'); 
    $imageattributes = $fileinformation[3]; 
    //$newfile= $last_id."-image.".$imagetype; 
    $target=$thumblocation; 

    if ( !(copy($imagelocation,$target))) 
    { 
    echo "Could not copy file to destintaion., Command returned Error Message. Please check your log files. ".$imagelocation." ".$target; 
die; 
    } 

    //create thumbnails 80xrelational height; neu $thumbnail_width x proportionale Höhe 
    // Determine what filetype and set pointer to source image 

  
    $original_image=ImageCreateFromJPEG($target); 

    if (!$original_image){ 
    echo 'Error getting image from '.$target.'.'; 
    } 



$palette_image =$filedir.$webdir.$thumbdir.'vorlage.jpg'; 
$thumbsize = getImageSize($palette_image); 
$maxdim = $thumbsize[0]; 
$draw_from = $imagelocation; 
$dim = GetImageSize($draw_from); 
if($dim[0]>$dim[1]) 
{ 
$to_w = $maxdim; 
$to_h = round($dim[1]*($maxdim/$dim[0])); 
$to_x = 0; 
$to_y = round($maxdim-$to_h)/2; 
} 
else 
{ 
$to_h = $maxdim; 
$to_w = round($dim[0]*($maxdim/$dim[1])); 
$to_y = 0; 
$to_x = round($maxdim-$to_w)/2; 
} 

if($dim[2]==1) {$from = ImageCreateFromGIF($draw_from);} 
elseif($dim[2]==2) {$from = ImageCreateFromJPEG($draw_from);} 
elseif($dim[2]==3) {$from = ImageCreateFromPNG($draw_from);} 
$thumb = ImageCreateFromJPEG($palette_image); 
// $set_bg_colour = ImageColorAllocate($thumb,255,0,0); 
// $fill_bg_colour = ImageFill($thumb,0,0,$set_bg_colour); 
imagecopyresampled($thumb, $from, $to_x, $to_y, 0,  
0, $to_w, $to_h, $dim[0], $dim[1]); 






//echo $target; 
    // set image width and height of thunbnail and put pointer for filesytsem 
    $thumbfile= $db2->f('filename'); 
    $target_thumb=$thumblocation; 
    $t_width=$thumbnail_width; 
    // calculating height to maintain ratio 
    $t_height=($thumbnail_width/$imagewidth)*$imageheight; 
    // remove digits to get solid number 
    list ($t_height,$notimportand)=explode('.',$t_height); 
    // create blank image 
$thumb_image=imagecreatetruecolor($t_width,$t_height); 
//     $thumb_image=imagecreate($t_width,$t_height); 
  //   $thumb_image=ImageCreateFromJPEG($palette_image); 
    // resize image based on height and width 
    imagecopyresampled($thumb_image,$original_image,0,0,0,0,$t_width,$t_height,$imagewidth,$imageheight); 
    // store image on file system 
    // requires different functionf for either gif or jpeg 
    
    imagejpeg($thumb,$target_thumb); 

    imagedestroy($thumb); 
    imagedestroy($original_image); 
    } 
    $image=$webdir.$thumbdir.$db2->f('filename'); 
    $imagetag="<img src=\" $image \" border=0>"; 

$image=$webdir.$thumbdir.$db2->f('filename'); 
    
//wenn Artikel kein Bild hat    

if (!$db2->f('filename')){ 
$image=$webdir.$thumbdir.'vorlage.jpg'; 
} 
//Ende 

$imagetag="<img src=\" $image \" border=0>"; 

} // ende wenn keine thumbs gewünscht 
/**************** Ende Thumbnails ***********************/ 


// link 
$link = $sess->url("front_content.php?client=$client&lang=$lang&idcat=$selcat&idart=$linkID[$key]&m=$m&s=$s"); 



/***********************Anfang Tablezeile für Artikelliste**********************/ 
echo ' 
  <tr> 
    <td colspan="3" class="trnews1" cellpadding="2" ><div align="center"></div></td> 
  </tr> 
  <tr> 
<td colspan="3" class="trnews1" cellpadding="2" ><A HREF="'.$link.'">'.$headline.'</a></td> 
</tr> 

<tr> 
<td width=\"$thumbnail_width\" align="left" bgcolor="#ffffff"><A HREF="'.$link.'">'.$imagetag.'</a></td> 
<td colspan="2" valign="top" bgcolor="#ffffff" class="newstext">'.$subheadline.'</td> 

</tr> 
<tr> 
  <td align="left" bgcolor="#ffffff"><span class="trnews1"><img  src="upload/design/date.gif" border="0" align="middle" valign"bottom"></span></td> 
  <td align="center" class="trnews2"><A HREF="'.$link.'">'.$modifydate.'</a></td> 
  <td valign="bottom"><a  href="'.$link.'"><img  src="images/pfeil.gif" border="0" align="right"></a></td> 
  
</tr> 
<tr><td bgcolor="#FFFFFF"><IMG SRC="upload/design/fueller.gif" WIDTH="1" HEIGHT="2" 
BORDER="0"></td></tr> '; 


} // end while 



unset($headline); 
unset($headline1); 
unset($subheadline); 
unset($subheadline1); 
unset($thumb); 
  
} // end foreach 

} // end if (is_array) 

echo '</table>'; 
/***********************ende Table**********************/ 

?> 
Wenn mir jemand helfen kann, wäre das echt super. Steig da echt nicht mehr durch...

Aixtraweb
Beiträge: 100
Registriert: Do 23. Sep 2004, 10:55
Wohnort: Herzogenrath
Kontaktdaten:

Beitrag von Aixtraweb » Fr 19. Aug 2005, 12:23

Hallo im Einsatz ist folgende Artikellisten-Modifikation:

Code: Alles auswählen

/** 
* CONTENIDO MODUL - INPUT 
* 
* Erweiterte Artikel liste Version 1.1 mit Seitenzählung 
* 
* Liste von Artikeln mit mehreren Daten basierend 
* auf 4fb referenz modul 
* 1.Gibt die Subheadline eines Artikel mit aus 
* 2.Anschnitte nur nach ganzen Wörtern 
* 3.Thumnails werden vernünftig berechnet 
* 4.Image für Erzeugung von Thumbs kann gewählt werden 
* Author : Evert Smit / Dirk Uptmoor / Peter Beauvain 
* Copyright : None 
* Created : 13-07-03 
* Modified : 16-08-02 /20-09-03 upt /02-02-04 Beau/04-04-04 Beau 
*/ 
In den Beiträgen der vorliegenden Seiten zur Liste, habe ich gesehen, dass es wohl bei *.GIF Probleme gibt, wegen igrendwelchen Patentgeschichten, bzw. die darurch fehlende Unterstützung bei der Erstellung von den Thumbs, gibt es inzwischen eine Lösung hierzu?
Wäre doch toll wenn die Artikelliste ungeachtet des Bildformates GIF oder JPG funktionieren würde....
Mit freundlichen Grüßen
Jörg Knörchen

Meine Hobby-Webseite:
www.mein-foto-abc.de : contenido 4.6.15 - I love it! : www.yogie.de : www.bastelstun.de

Halchteranerin
Beiträge: 5478
Registriert: Di 2. Mär 2004, 21:11
Wohnort: Halchter, wo sonst? ;-)
Kontaktdaten:

Beitrag von Halchteranerin » Fr 19. Aug 2005, 12:46

gif ist inzwischen frei, der Provider muss "nur" die GDlib mit "GIF Create Support" installieren.

Käferli
Beiträge: 196
Registriert: Mo 15. Mär 2004, 21:37
Kontaktdaten:

Beitrag von Käferli » Di 23. Aug 2005, 11:17

Ich habe 3 Seiten in einer Kategorie, die in der Übersicht angezeigt werden, aber der "Anreissertext" wird nur bei 2 Seiten angezeigt, der
3. bleibt leer, woran kann das liegen? Die Seite ist natürlich mit Text gefüllt... :wink:

DANKE
KÄFERLI :wink:

hari
Beiträge: 39
Registriert: Do 21. Aug 2003, 19:21
Kontaktdaten:

kurzer Fehler nach Erzeugung der Thumbnails

Beitrag von hari » Do 25. Aug 2005, 17:15

Das Modul läuft, bis auf eine kleine Kleinigkeit, hervorragend.

Nachdem ich diesen ganzen Thread durchgelesen habe, wurde zwar mein Problem einmal erwähnt, aber nicht beantwortet.

Nun noch einmal:

Wenn ich einen neuen Artikel erstelle und danach das erste Mal wieder auf die Übersichtsseite der Artikelliste gehe, wird das Thumbnail ja erstellt. Hierbei erhalte ich über der Artikelliste einen ERROR-Hinweis, ebenso im Logfile der Administration mit folgendem Inhalt:

Code: Alles auswählen


[22-Aug-2005 21:43:33] PHP Warning:  imagecreatetruecolor(): Invalid image dimensions in /homepages/33/d96200902/htdocs/contenidocms/front_content.php(558) : eval()'d code on line 735
[22-Aug-2005 21:43:33] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /homepages/33/d96200902/htdocs/contenidocms/front_content.php(558) : eval()'d code on line 739

Das Thumbnail wird trotzdem erzeugt und bei nächsten Besuchen erscheint diese ERROR-Meldung nicht mehr.

Was kann ich tun, dass diese ERROR-Meldung beim ersten Besuch (Erzeugung der Thumbs) unterbunden wird.

Die Seite meines Clienten ist:

Köngernheimer-Dalmatiner

zimboo
Beiträge: 171
Registriert: Fr 20. Mai 2005, 09:43
Wohnort: Köln - Rondorf
Kontaktdaten:

Beitrag von zimboo » Fr 26. Aug 2005, 07:24

Hallo Leute,

ich bin völlisch am verzweifeln am tun...

Nun habe ich das Modul von Snoopy übernehmen wollen und bekomme, wenn ich das Modul in der Kategorie konfigurieren will die Fehlermeldung:
[26-Aug-2005 08:05:32] PHP Parse error: parse error, unexpected ';' in /homepages/14/d41006292/htdocs/testdocs/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 912
Nun habe ich diesen "kilometer langen" Thread hier gelesen und festgestellt, dass Darth-Vader das selbe Problem hatte...

timo hat geschrieben: im zweifelsfalle folgende Zeile verwenden:

Code: Alles auswählen

for ($j="CMS_VALUE[3]"; $j < "CMS_VALUE[3]"+20; $j++)
Wenn CMS_VALUE[3] leer ist, würde nämlich folgendes herauskommen:

Code: Alles auswählen

for ($j=; $j < +20; $j++)
und das schluckt PHP nicht ganz.
Timos antwort ist zwar hilfreich - aber der Quelltext des Moduls ist schon entsprechend geändert... Und trotzdem erhalte ich diesen, irgendwie nix-sagenden, Fehler...

Muss ich denn evtl. noch irgendwelche anderen Einstellungen machen ???

Wäre schön wenn mir gerade jemand helfen könnte...

Danke schonmal

Jörg

[/quote]
Jörg Zimmermann
Köln Rondorf

Lula
Beiträge: 28
Registriert: Sa 5. Jun 2004, 20:58
Kontaktdaten:

Beitrag von Lula » Sa 10. Sep 2005, 23:45

ICH HABS!!!

Code: Alles auswählen

for ($j="CMS_VALUE[3]"; $j < "CMS_VALUE[3]"+20; $j++)
{
$headline1 = substr($headline , 0, $j);

$cut = substr($headline, $j);
if ((ord ($cut) == 32)||(ord ($cut) == 44)||(ord ($cut) == 45)) {

$headline= substr($headline , 0, $j);
$headline .= ' .....';
       }
    }
}
und

Code: Alles auswählen

for ($i="CMS_VALUE[6]"; $i < "CMS_VALUE[6]"+20; $i++)
{
$subheadline1 = substr($subheadline , 0, $i);

$cut = substr($subheadline, $i);
if ((ord ($cut) == 32)||(ord ($cut) == 44)||(ord ($cut) == 45)) {

$subheadline= substr($subheadline , 0, $i);
$subheadline .= ' .....';
       }
    }
}
so is bei mir der error weg!

Lula
Beiträge: 28
Registriert: Sa 5. Jun 2004, 20:58
Kontaktdaten:

Beitrag von Lula » So 11. Sep 2005, 00:52

So jetzt hab ich noch ein klitzekleines Problem:

Ich hätte gerne, dass die Thumbnails immer eine Breite von 165 px haben.

Wo muss ich das einstellen?

gepo
Beiträge: 203
Registriert: Fr 13. Mai 2005, 16:25
Wohnort: Ruhrpott
Kontaktdaten:

Beitrag von gepo » Di 13. Sep 2005, 18:33

Leute, tut mir einen Gefallen. Bitte...Bitte...Bitte löscht diesen Thread. Ich versuche seit Tagen das Modul "Artikelliste mit Bild", das Anfangs von snoopy eingestellt wurde zu verwenden. Mittlerweile habe ich alle 16 Seiten durch und nichts läuft. Mal Fehlermeldung, mal weiße Seite..Nicht ein Modul in diesem Thread läuft. Ich komme mir echt verarscht vor.
Kann mir jemand ein lauffähiges Modul zuschicken. Es sollte das mit der vorlage.jpg im /thumb -Verzeichnis sein....oder was nutzt ihr.....???

Lula
Beiträge: 28
Registriert: Sa 5. Jun 2004, 20:58
Kontaktdaten:

Hi Gepo...

Beitrag von Lula » Di 13. Sep 2005, 21:31

hier das Modul wie es bei mir funktioniert:

Input:

Code: Alles auswählen

/** 
* Artikelliste 
* 
* Liste von Artikeln mit mehreren Daten basierend 
* auf 4fb referenz modul 
* 1.Gibt die Subheadline eines Artikel mit aus 
* 2.Anschnitte nur nach ganzen Wörtern 
* 3.Thumnails werden vernünftig berechnet 
* 4.Image für Erzeugung von Thumbs kann gewählt werden 
* Author : Evert Smit / Dirk Uptmoor / Peter Beauvain 
* Copyright : None 
* Created : 13-07-03 
* Modified : 16-08-02 /20-09-03 upt /02-02-04 Beau 
*/ 

// selected category 
$selected = "CMS_VALUE[0]"; 
$seldir = "CMS_VALUE[9]"; 
$selimg = "CMS_VALUE[11]"; 
//funktion für die checkboxen 
function d_checked($which) { 
  if ($which != "") { 
    return "checked"; 
  } 
} // end function 



echo "<table cellspacing=\"0\" cellpadding=\"2\" border=\"0\"> 
         <tr bgcolor=\"#E8E8EE\" valign=\"top\"> 
            <td></td> 
            <td><input type=\"checkbox\" value=\"on\" ".d_checked("CMS_VALUE[14]")." name=\"CMS_VAR[14]\"></td> 
            <td width=\"120\">Ausgabe mit Startartikel</td> 
            <td></td> 
<td>Kategorie wählen:<br> 
          
<select name=\"CMS_VAR[0]\">"; 

if($selected!="0" && $selected!=""){ 
             echo"<option value=\"0\">--- kein ---</option>"; 

            }else{ 
            echo"<option selected=\"selected\" value=\"0\">--- kein ---</option>"; 
            } 

            // fetch all categorys 
            $query = "SELECT A.idcat, A.level, C.name FROM ".$cfg["tab"]["cat_tree"]." AS A, ". 
                     $cfg["tab"]["cat"]." AS B,  ".$cfg["tab"]["cat_lang"]." AS C WHERE A.idcat=B.idcat ". 
                     "AND B.idcat=C.idcat AND C.idlang='$lang' AND B.idclient='$client' ". 
                     "AND C.visible=1 ORDER BY A.idtree"; 
            // execute query 
            $db->query($query); 

            // loop result and build the options 
            while ($db->next_record()) { 

              // indent spacer 
              $spaces = "|"; 

              // how many levels 
              $levels = $db->f("level"); 

              for ($i = 0; $i < $levels; $i ++) { 
                // add 2 spaces for every level 
                $spaces = $spaces . "--"; 

              } // end for 
              
              $spaces .= ">"; 


              if ($selected == $db->f("idcat")) { 
                // selected category 
                echo "<option selected=\"selected\" value=\"". $db->f("idcat") ."\">". $spaces . $db->f("name") ."</option>"; 

              } else { 
                // category 
                echo "<option value=\"". $db->f("idcat") ."\">". $spaces . $db->f("name") ."</option>"; 

              } // end if 

            } // end while 

echo "</select>"; 


        
echo "</td> 
<td></td>      
</tr> 
      <tr valign=\"top\"> 
         <td></td> 
         <td></td> 
         <td width=\"120\"></td> 
            <td></td> 
            <td>Überschrift: (wenn leer, keine Ausgabe)<br> 
               <input type=\"text\" name=\"CMS_VAR[2]\" value=\"CMS_VALUE[2]\" size=\"24\"></td> 
         </tr> 
         <tr bgcolor=\"#E8E8EE\" valign=\"top\"> 
            <td></td> 
            <td> <input type=\"checkbox\" value=\"on\" ".d_checked("CMS_VALUE[4]")." name=\"CMS_VAR[4]\"> </td> 
            <td width=\"120\">Ausgabe der Artikel-Headline</td> 
            <td></td> 
            <td>Angezeigte Zeichen Artikel-Headline:<br> 
               <input type=\"text\" name=\"CMS_VAR[3]\" value=\"CMS_VALUE[3]\" size=\"24\"></td> 
         </tr> 
         <tr valign=\"top\"> 
            <td></td> 
            <td><input type=\"checkbox\" value=\"on\" ".d_checked("CMS_VALUE[5]")."  name=\"CMS_VAR[5]\"></td> 
            <td width=\"120\">Ausgabe der Artikel-Subheadline:</td> 
            <td></td> 
            <td>Angezeigte Zeichen Artikel-Subheadline:<br> 
               <input type=\"text\" name=\"CMS_VAR[6]\" value=\"CMS_VALUE[6]\" size=\"24\"></td> 
         </tr> 
         <tr bgcolor=\"#E8E8EE\" valign=\"top\"> 
            <td></td> 
            
<tr bgcolor=\"#E8E8EE\" valign=\"top\"> 
            <td></td> 
            <td><input type=\"checkbox\" value=\"on\" ".d_checked("CMS_VALUE[7]")."  name=\"CMS_VAR[7]\" ></td> 
            <td width=\"120\">Ausgabe der Thumbnails:</td> 
            <td></td> 
            <td>Bildcontainer für Thumbnail Quelle:<br>"; 
                

$db  = new DB_Contenido; 
$query = "SELECT output AS out, name AS beschreibung FROM ".$cfg["tab"]["mod"]." "; 
$db->query($query); 
echo"<select name=\"CMS_VAR[11]\">"; 
echo"<option value=\"kein\">-- kein --</option> "; 
while ($db->next_record()) { 
$frontendpath = $db->f("out"); 
$name = $db->f("beschreibung"); 

$rest = substr("$frontendpath", 3, 30); 

$find = strpos($rest,"CMS_IMG"); 
if ($find === false) { 

} 

else { 




$ok = substr($rest, $find, 10); 

$nummer = substr($ok, 8, 1); 


?> 
            <option value="<?php echo $nummer ?>"<?php if ($selimg == $nummer) echo " selected" ?>><?php echo $db->f("beschreibung") ?> 
<? 

} 


} 

echo" </option> </select> "; 
echo"</td> 

</tr> 
<td></td><td></td> 
<td width=\"120\">Thumbnail Ordner</td> 

<td></td><td>Bitte wählen:<br><select name=\"CMS_VAR[9]\" size=\"1\">"; 
echo"<option value=\"kein\">-- kein --</option>"; 

$db  = new DB_Contenido; 
$query = "SELECT DISTINCT dirname FROM ".$cfg["tab"]["upl"]." ORDER BY dirname ASC"; 
$db->query($query); 
while ($db->next_record()) { 

?> 
            <option value="<?php echo $db->f("dirname") ?>"<?php if ($seldir == $db->f("dirname")) echo " selected" ?>><?php echo $db->f("dirname") ?></option> 
<?php 
   } 
echo "</select></td> 


<tr valign=\"top\"> 
<td></td> 
<td></td> 
<td></td> 
<td></td> 
<td></td> 

</tr> 
</table> 
"; //Ende 
Output:

Code: Alles auswählen

<?
/***********************************************
* CONTENIDO MODUL - OUTPUT
*
* Erweiterte Artikel liste
*
* Liste von Artikeln mit mehreren Daten basierend
* auf 4fb referenz modul
* 1.Gibt die Subheadline eines Artikel mit aus
* 2.Anschnitte nur nach ganzen Wörtern
* 3.Thumnails werden vernünftig berechnet
* 4.Image für Erzeugung von Thumbs kann gewählt werden
* Author : Evert Smit / Dirk Uptmoor / Peter Beauvain
* Copyright : None
* Created : 13-07-03
* Modified : 16-08-02 /20-09-03 upt /02-02-04 Beau
************************************************/
//Frontendpfad ermitteln
$query = "SELECT  frontendpath FROM ".$cfg["tab"]["clients"]." WHERE idclient='".$client."'";
$db->query($query);
$db->next_record();
$frontendpath = $db->f("frontendpath");



$startarton = "AND CATART.is_start = '0' AND";

//soll der startartikel mit ausgegeben werden?.
$print_startartikel = "CMS_VALUE[14]";
if($print_startartikel !=""){
$startarton = "AND";

}

//die Überschrift wird ausgegeben wenn sie nicht leer ist.
$print_mainheadline = "CMS_VALUE[2]";

//soll headline ausgegeben werden?
$print_headline = "CMS_VALUE[4]";

//soll subheadline ausgegeben werden?
$print_subheadline = "CMS_VALUE[5]";

//soll ein thumnail ausgegeben werden?
$print_thumbnail = "CMS_VALUE[7]";

//thumbnail breite
$thumbnail_width = "CMS_VALUE[8]";

//wenn thumbnails = 0
$imagetag = "";



// second db class instance
$db2 = new DB_Contenido;

// selected category
$selcat = "CMS_VALUE[0]";

if($selcat!="0" && $selcat!=""){

// select all articles in category widthout start article
$query = "SELECT ARTLANG.idart, ARTLANG.idartlang, ARTLANG.lastmodified FROM ".$cfg["tab"]["cat_art"]." AS CATART, ".
$cfg["tab"]["art_lang"]." AS ARTLANG ".
"WHERE CATART.idcat = '$selcat' AND ARTLANG.idart = CATART.idart AND ARTLANG.idlang = '$lang' "." $startarton " ."ARTLANG.online = '1' ORDER BY ARTLANG.lastmodified DESC limit 55";

// execute query
$db->query($query);

unset($articleID);
unset($linkID);

// get id's of sub articles
while ($db->next_record()) {
$articleID[] = $db->f("idartlang");
$linkID[] = $db->f("idart");
} // end while


/****************** start table **************************/
echo '
<table border="0" borderstyle="dashed" cellpadding="0" cellspacing="0" width="165"
';


/**** Überschrift der Artikelliste wird ausgegeben, wenn nicht leer ********/

if($print_mainheadline !=""){
echo '
 <tr><td align="left" class="container"><img src="images/nav_button.jpg" border="0"></td>
<td class="container" valign="bottom"><img src="upload/logos/angebote.gif"border="0"></td>

</tr> ';
}
if($print_mainheadline ==""){
echo '
 <tr>
<td class="container">Angebote</td>
</tr>
';
}



// Loop through articles
if (is_array($articleID)) {
    foreach ($articleID as $key => $value) {
    // select all CMS variables of the article

    if($print_headline!="0" && $print_headline!=""){
    $sql = "SELECT * FROM ".$cfg["tab"]["content"]." WHERE idartlang = '$value' AND idtype = '1' AND typeid = '1'";

    $db->query($sql);
    $db->next_record();


  $headline = urldecode($db->f("value"));



for ($j="CMS_VALUE[3]"; $j < "CMS_VALUE[3]"+20; $j++)
{
$headline1 = substr($headline , 0, $j);

$cut = substr($headline, $j);
if ((ord ($cut) == 32)||(ord ($cut) == 44)||(ord ($cut) == 45)) {

$headline= substr($headline , 0, $j);
$headline .= ' .....';
       }
    }
}




$cfgTab_art_lang = $cfg['tab']['art_lang'];
$cfgTab_content = $cfg['tab']['content'];

$sql_date = "SELECT * FROM ".$cfg['tab']['art_lang']." WHERE idartlang='$value' ";
$db->query($sql_date);
$db->next_record();
$modifydate= date("d.m.y",strtotime($db->f("created")));
$modifytime= date("H:i",strtotime($db->f("created")));






    if($print_subheadline!="0" && $print_subheadline!=""){
    $sql_subheadline = "SELECT * FROM ".$cfg["tab"]["content"]." WHERE idartlang = '$value' AND idtype = '1' AND typeid = '2'";

    $db->query($sql_subheadline);
    $db->next_record();

   $subheadline = urldecode($db->f("value"));



for ($i="CMS_VALUE[6]"; $i < "CMS_VALUE[6]"+20; $i++)
{
$subheadline1 = substr($subheadline , 0, $i);

$cut = substr($subheadline, $i);
if ((ord ($cut) == 32)||(ord ($cut) == 44)||(ord ($cut) == 45)) {

$subheadline= substr($subheadline , 0, $i);
$subheadline .= ' .....';
       }
    }
}





/******************* begin thumbnails **********************************/
if($print_thumbnail !="0" && $print_thumbnail !=""){

    // select and resolve image path
    $imagesql="select value from ".$cfg["tab"]["content"]." where idartlang='$value' and idtype='4' and typeid='CMS_VALUE[11]'";
    $db2->query($imagesql);
    $db2->next_record();
    $image_id= $db2->f("value");


    // get image name and path
    $imagesql="select * from ".$cfg["tab"]["upl"]." where idupl='$image_id'";
    $db2->query($imagesql);
    $db2->next_record();


    $webdir='upload/';
    $thumbdir='CMS_VALUE[9]';
    $filedir=$frontendpath;
    $imagelocation=$filedir.$webdir.$db2->f('dirname').$db2->f('filename');
    $thumblocation=$filedir.$webdir.$thumbdir.$db2->f('filename');
    if (!file_exists($thumblocation)){
    // create thunbnail
    $fileinformation=getimagesize($imagelocation);
    $imagewidth = $fileinformation[0];
    $imageheight = $fileinformation[1];
    $imagetype=$db2->f('filetype');
    $imageattributes = $fileinformation[3];
    //$newfile= $last_id."-image.".$imagetype;
    $target=$thumblocation;

    if ( !(copy($imagelocation,$target)))
    {
    echo "Could not copy file to destintaion., Command returned Error Message. Please check your log files. ".$imagelocation." ".$target;
die;
    }

    //create thumbnails 80xrelational height; neu $thumbnail_width x proportionale Höhe
    // Determine what filetype and set pointer to source image


    $original_image=ImageCreateFromJPEG($target);

    if (!$original_image){
    echo 'Error getting image from '.$target.'.';
    }



$palette_image =$filedir.$webdir.$thumbdir.'vorlage.jpg';
$thumbsize = getImageSize($palette_image);
$maxdim = $thumbsize[0];
$draw_from = $imagelocation;
$dim = GetImageSize($draw_from);
if($dim[0]>$dim[1])
{
$to_w = $maxdim;
$to_h = round($dim[1]*($maxdim/$dim[0]));
$to_x = 0;
$to_y = round($maxdim-$to_h)/2;
}
else
{
$to_h = $maxdim;
$to_w = round($dim[0]*($maxdim/$dim[1]));
$to_y = 0;
$to_x = round($maxdim-$to_w)/2;
}

if($dim[2]==1) {$from = ImageCreateFromGIF($draw_from);}
elseif($dim[2]==2) {$from = ImageCreateFromJPEG($draw_from);}
elseif($dim[2]==3) {$from = ImageCreateFromPNG($draw_from);}
$thumb = ImageCreateFromJPEG($palette_image);
// $set_bg_colour = ImageColorAllocate($thumb,255,0,0);
// $fill_bg_colour = ImageFill($thumb,0,0,$set_bg_colour);
imagecopyresampled($thumb, $from, $to_x, $to_y, 0,
0, $to_w, $to_h, $dim[0], $dim[1]);






//echo $target;
    // set image width and height of thunbnail and put pointer for filesytsem
    $thumbfile= $db2->f('filename');
    $target_thumb=$thumblocation;
    $t_width=$thumbnail_width;
    // calculating height to maintain ratio
    $t_height=($thumbnail_width/$imagewidth)*$imageheight;
    // remove digits to get solid number
    list ($t_height,$notimportand)=explode('.',$t_height);
    // create blank image
$thumb_image=imagecreatetruecolor($t_width,$t_height);
//     $thumb_image=imagecreate($t_width,$t_height);
  //   $thumb_image=ImageCreateFromJPEG($palette_image);
    // resize image based on height and width
    imagecopyresampled($thumb_image,$original_image,0,0,0,0,$t_width,$t_height,$imagewidth,$imageheight);
    // store image on file system
    // requires different functionf for either gif or jpeg

    imagejpeg($thumb,$target_thumb);

    imagedestroy($thumb);
    imagedestroy($original_image);
    }
    $image=$webdir.$thumbdir.$db2->f('filename');
    $imagetag="<img src=\" $image \" border=0>";

$image=$webdir.$thumbdir.$db2->f('filename');

//wenn Artikel kein Bild hat

if (!$db2->f('filename')){
$image=$webdir.$thumbdir.'vorlage.jpg';
}
//Ende

$imagetag="<img src=\" $image \" border=0>";

} // ende wenn keine thumbs gewünscht
/**************** Ende Thumbnails ***********************/


// link
$link = $sess->url("front_content.php?client=$client&lang=$lang&idcat=$selcat&idart=$linkID[$key]&m=$m&s=$s");



/***********************Anfang Tablezeile für Artikelliste**********************/
echo '
  <tr>
<td colspan="2" class="off" cellpadding="2" ><A HREF="'.$link.'">'.$headline.'</a></td>
</tr>

<tr>
<td width=\"$thumbnail_width\" align="left" bgcolor="#D4D8E5" colspan="2"><A HREF="'.$link.'">'.$imagetag.'</a></td></tr>
<tr><td colspan="2" valign="top" bgcolor="#D4D8E5" class="newstext">'.$subheadline.'</td></tr>

</tr>';



} // end while



unset($headline);
unset($headline1);
unset($subheadline);
unset($subheadline1);
unset($thumb);

} // end foreach

} // end if (is_array)

echo '</table>';
/***********************ende Table**********************/

?>
Dann hab ich im Ordner Upload den Ordner thumbnails erstellt und da die vorlage.jpg rein.

Das Modul ist allerdings schon an meine Bedürfnisse angepasst.
So wird z.B. bei mir die Überschrift statisch per Bild ausgegeben und nicht über das Modul generiert.
Aber die Passage kannste ja leicht ändern.
Bei mir läuft es so auf alle Fälle.

gepo
Beiträge: 203
Registriert: Fr 13. Mai 2005, 16:25
Wohnort: Ruhrpott
Kontaktdaten:

Beitrag von gepo » Mi 14. Sep 2005, 12:05

Hallo Lula, leider klappt dein Modul auch nicht. Bei ersten Aufruf schon, doch dann habe ich im Output eine kleine Änderung gemacht:

/****************** start table von Lula***********************/
echo '
<table border="0" borderstyle="dashed" cellpadding="0" cellspacing="0" width="165"
';

/****************** start table geändert**********************/
echo '
<table border="0" borderstyle="dashed" cellpadding="0" cellspacing="0" width="165">
';

Danach ging nichts mehr.

Wenn jemand Lust hat sich eine kleine Mark zu verdienen, kann er mich anmailen. Würde nach wie vor gerne eine "Artikelliste mit Bild" haben wollen....Ich lass die Finger von diesem Thread. Wie wäre es mit einem neuen Thread (für Dummies). :x :oops:

Halchteranerin
Beiträge: 5478
Registriert: Di 2. Mär 2004, 21:11
Wohnort: Halchter, wo sonst? ;-)
Kontaktdaten:

Beitrag von Halchteranerin » Mi 14. Sep 2005, 14:59

gepo, ich sehe bei dir keine andere Aenderung ausser der, dass der table-Tag geschlossen wurde, im Gegensatz zu Lulas Version, die du zitiert hast. Ich habe mir das Modul jetzt nicht angeschaut, ob evtl. der Tag woanders geschlossen wird, aber wenn die Version von Lula funktioniert (hat), wieso hast du den Output geaendert?

Gesperrt