PDA

View Full Version : More Pics Question



joanstead
02-16-2006, 07:07 AM
Is there a way to turn off "Othere Images for this Product" for each product page?

JoAn,

groggory
02-16-2006, 10:06 AM
I've been trying to figure that out myself. I haven't spent much time on it thus far, but I think it would be a simple if statement written in PHP.

joanstead
02-16-2006, 10:18 AM
When you figure it out, please let me know.

met00
02-17-2006, 11:44 PM
in product_info.tpl.php


//// BEGIN: Added for Dynamic MoPics v3.000
?>
<!-- <tr>
<td>
<div class="screenshotsHeader">
<div class="screenshotsHeaderText"><?php echo TEXT_OTHER_PRODUCT_IMAGES; ?></div>
</div>
<div class="screenshotsBlock"> -->
<?php include(DIR_WS_MODULES . 'dynamic_mopics.php'); ?>
<!-- </div>
</td>
</tr> -->

That comments out mopics if you are not using it.

If you are using it, then you should make some changes to support reality as the decision to include the code this way sucks.

1) take the HTML and move it into the /include/modules/dynamic_mopics.php file
2) in the dynamic_mopics.php file check to see if there are any additional pics to put up before putting in the mopics table.

As it's in the system now, even when there are no additional images, mopics will put up the table. Real bad design.