hi
in the tpl_product_music_info_display.php
after <!--eof Product date added/available -->
I added:
<!--bof Product URL -->
<?php
if (zen_not_null($products_url)) {
if ($flag_show_product_info_url == 1) {
?>
<p id="productInfoLink" class="productGeneral centeredContent"><?php echo sprintf(TEXT_PRODUCT_MORE_INFORMATION, zen_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($products_url), 'NONSSL', true, false)); ?></p>
<?php
} // $flag_show_product_info_url
}
?>
<!--eof Product URL -->
<!--bof Product artists url and image -->
<?php if ($flag_show_product_music_info_artist == 1 or $flag_show_product_music_info_genre == 1 or $flag_show_product_music_artist == 1) { ?>
<ul id="productDetailsList" class="floatingBox back">
<?php echo (($flag_show_product_music_info_artist == 1 and !empty($products_artist_name)) ? '<li>' . TEXT_ARTIST_URL . $products_artist_name . '</li>' : '') . "\n"; ?>
<?php
// $flag_show_product_info_record_company
?>
</ul>
<br class="clearBoth" />
<?php
}
?>
<?php echo sprintf('<a href="' . TEXT_ARTIST_IMAGE_URL, zen_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($products_artist_url), 'NONSSL', true, false) . '">' . zen_image(DIR_WS_IMAGES . $record_artists->fields['artists_image']). '</a>'); ?>
<!--eof Product artists url and image -->
<!--bof record company url and image -->
<?php
if (zen_not_null($products_record_company_url)) {
if ($flag_show_product_music_info_record_company == 1) {
?>
<p id="productInfoLink" class="productMusic centeredContent">For more information, you can visit the <a href=<?php echo sprintf(TEXT_RECORD_COMPANY_URL, zen_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($products_record_company_url), 'NONSSL', true, false)); ?> >webpage</a> of manufacturer.</p>
<?php
}// $flag_show_product_info_record_company
}
?>
<?php echo sprintf('<a href="' . TEXT_RECORD_COMPANY_URL, zen_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($products_record_company_url), 'NONSSL', true, false) . '">' . zen_image(DIR_WS_IMAGES . $record_company->fields['record_company_image']) . '</a>'); ?>
<!--eof Product URL -->
so: I repeated the same principle of record company for the artists, but for record company it displays image of respected record company,
for artists: it displays url of artists and the link to his url, also the url of artists is on the artists image, just there is no image, like the script can not find the image of artist. the """" zen_image(DIR_WS_IMAGES . $record_artists->fields['artists_image']). '</a>'); """"
comes from the table record_artists where there is a filed of artists_image.
problem:
1- image of artists doen't displayed.
2- when I install lichtbox addon, the image of product will not more get the function of lichtbox image, even if I add this code to the appropriate file of lichtbox file.
thanks
Bookmarks