ich benutze die Advanced Article List v1.4 um Texte und Bilder von Download-Objekten auszulesen. Diese Artikel (Downloads) kann man mit dem i-fekt Rating-Modul auch bewerten.
Nun soll die Artikelliste aber auch die Sterne (jeweils 5 Einzelbilder) auslesen
So sieht das im Rating-Modul aus:
Code: Alles auswählen
echo "
<p>".mi18n("You have already rated this article.")."</p>
<p>
<img src=\"images/stern".$file1.".gif\" alt=\"\" title=\"\"/>
<img src=\"images/stern".$file2.".gif\" alt=\"\" title=\"\"/>
<img src=\"images/stern".$file3.".gif\" alt=\"\" title=\"\"/>
<img src=\"images/stern".$file4.".gif\" alt=\"\" title=\"\"/>
<img src=\"images/stern".$file5.".gif\" alt=\"\" title=\"\"/>
</p>
";
gespeichert und ausgegeben, siehe hier:
Code: Alles auswählen
$ratingImg = "<img src=\"images/stern".$file1.".gif\" alt=\"\" title=\"\"/>
<img src=\"images/stern".$file2.".gif\" alt=\"\" title=\"\"/>
<img src=\"images/stern".$file3.".gif\" alt=\"\" title=\"\"/>
<img src=\"images/stern".$file4.".gif\" alt=\"\" title=\"\"/>
<img src=\"images/stern".$file5.".gif\" alt=\"\" title=\"\"/>";
echo "$ratingImg";
Ich glaube, dass ich CMS_IMG[2] diesen String zuweisen muss, habe allerdings von PHP kaum Ahnung.
Weiss jemand Rat? Ist echt eilig...

Danke im Voraus.
Gruss,
Torsten