View Full Version : More Pics Question

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


02-16-2006, 11: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.

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

02-18-2006, 12:44 AM
in product_info.tpl.php

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