INSERER UNE ANIM FLASH dans Module PEEL Premium pour PEEL SHOPPING Posté(e) 22 nov. 2007 · Signaler ce message D'origine on affiche une image avec la balise <img>, là il faut mettre à la place le code pour visualer une animation flash. Willy Bonjour, suivant vos conseils, j'ai modifié dans template.php la fonction template_index_produit. j'ai remplacé la ligne : echo (!empty($prod['image1'])) ? "<img src=\"$repertoire_upload/".$prod['image1']."\" width=\"150\" border=\"0\" title=\"".$prod['nom_'.$_SESSION['langue'].'']."\"/>" : "<img src=\"$wwwroot/images/photo-non-disponible.gif\" width=\"130\" alt=\"photo non disponible\" border=\"0\">"; par : echo (!empty($prod['image1'])) ? "<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="468" height="60"> <param name="movie" value=\"$repertoire_upload/".$prod['image1']."\" width=\"150\" border=\"0\" title=\"".$prod['nom_'.$_SESSION['langue'].'']."\"/> <param name="quality" value="high"> <embed src=\"$repertoire_upload/".$prod['image1']."\" width=\"150\" border=\"0\" title=\"".$prod['nom_'.$_SESSION['langue'].'']."\"/ quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="" height=""></embed></object> "; : "<img src=\"$wwwroot/images/photo-non-disponible.gif\" width=\"130\" alt=\"photo non disponible\" border=\"0\">"; et là j'ai le message d'erreur suivant : Parse error: syntax error, unexpected T_STRING in /home.49/d/b/c/dbclothi/www/modeles/default/template.php on line 569 j'ai du faire une erreur mais je ne sait pas ou ! pouvez-vous m'aider ?
INSERER UNE ANIM FLASH
dans Module PEEL Premium pour PEEL SHOPPING
Posté(e) · Signaler ce message
Bonjour,
suivant vos conseils, j'ai modifié dans template.php la fonction template_index_produit.
j'ai remplacé la ligne :
echo (!empty($prod['image1'])) ? "<img src=\"$repertoire_upload/".$prod['image1']."\" width=\"150\" border=\"0\" title=\"".$prod['nom_'.$_SESSION['langue'].'']."\"/>" : "<img src=\"$wwwroot/images/photo-non-disponible.gif\" width=\"130\" alt=\"photo non disponible\" border=\"0\">";
par :
echo (!empty($prod['image1'])) ? "<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="468" height="60">
<param name="movie" value=\"$repertoire_upload/".$prod['image1']."\" width=\"150\" border=\"0\" title=\"".$prod['nom_'.$_SESSION['langue'].'']."\"/>
<param name="quality" value="high">
<embed src=\"$repertoire_upload/".$prod['image1']."\" width=\"150\" border=\"0\" title=\"".$prod['nom_'.$_SESSION['langue'].'']."\"/ quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="" height=""></embed></object> ";
: "<img src=\"$wwwroot/images/photo-non-disponible.gif\" width=\"130\" alt=\"photo non disponible\" border=\"0\">";
et là j'ai le message d'erreur suivant :
Parse error: syntax error, unexpected T_STRING in /home.49/d/b/c/dbclothi/www/modeles/default/template.php on line 569
j'ai du faire une erreur mais je ne sait pas ou !
pouvez-vous m'aider ?