|
|||
|
Hallo liebe Leut.
Meine Frage: Wie bekomme ich das Produktbild in der box_reviews kleiner bzw. wie kann ich h?he und breite definieren, ohne dabei ins Adminmenu von xtc gehen zu m?ssen. Das Bild erscheint, wenn eine Bewertung abgegeben wurde, und die Box dann sichtbar ist. Ich habe schon s?mtliche html und php dateien durchgeschaut, die unmittelbar mit den reviews in verbindung stehen, aber leider kein erfolg. vielleicht hat jemand von euch eine antwort. danke |
|
|||
|
Code:
{config_load file="$language/lang_$language.conf" section="boxes"}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> <table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="26" class="infoBoxHeading"><img src="http://www.koiosoft.de/shop/templates/xtc2/img/buttons/produktbewertung.jpg"></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0" class="infoBox">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
<tr>
<td><img src="{$tpl_path}img/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
<tr>
<td valign="top" class="main">{$BOX_CONTENT}</td>
</tr>
<tr>
<td><img src="{$tpl_path}img/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
</table>
hast du oder jemand anders vielleicht noch eine idee ? |
|
|||
|
Code:
<table border="0" cellspacing="0" cellpadding="2"><tr><td><a href="' . xtc_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, 'products_id=' . $_GET['products_id']) . '">' . xtc_image(DIR_WS_IMAGES . 'box_write_review.gif', IMAGE_BUTTON_WRITE_REVIEW) . '</a></td><td class="main"><b><a href="' . xtc_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, 'products_id=' . $_GET['products_id']) . '">' . BOX_REVIEWS_WRITE_REVIEW .'</a></b></td></tr></table> hast du da ne idee ? |
|
|||
|
sry falscher code, und da dieses forum anscheinend kein editieren zul?sst, hier nochmal der richtige code, bzw. der von dem ich denke das er richtig ist
Code:
<div align="center"><a href="' . xtc_href_link(FILENAME_PRODUCT_REVIEWS_INFO, 'products_id=' . $random_product['products_id'] . '&reviews_id=' . $random_product['reviews_id']) . '">' . xtc_image(DIR_WS_THUMBNAIL_IMAGES . $random_product['products_image'], $random_product['products_name']) . '</a></div><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><a href="' . xtc_href_link(FILENAME_PRODUCT_REVIEWS_INFO, 'products_id=' . $random_product['products_id'] . '&reviews_id=' . $random_product['reviews_id']) . '">' . $review . ' ..</a></font><br><div align="center">' . xtc_image(DIR_WS_IMAGES . 'stars_' . $random_product['reviews_rating'] . '.gif' , sprintf(BOX_REVIEWS_TEXT_OF_5_STARS, $random_product['reviews_rating'])) . '</div> |
|
|||
|
Ist zwar schon ein alter Thread, aber für den Fall dass es nochmal jemand braucht, hier die Lösung:
Folgendes in der reviews.php (Zeile 46) rauschlöschen, dann wird die Box mit den Bewertungen ohne Bild angezeigt ! ' . xtc_image(DIR_WS_THUMBNAIL_IMAGES . $random_product['products_image'], $random_product['products_name']) . ' |
![]() |
| Lesezeichen |
| Stichworte |
| bewertungen, grafik |
| Themen-Optionen | |
| Ansicht | |
|
|