Thanks mate!
Great help :)
Regarding question (1), I am getting closer to the solution. Because I am using the Hebrew language i need to use the Quote Mark (") in the header some times. The problem occurs only for the products with quote mark. I wonder how I change it in the JavaScript code so it won't make a difference.
Tzachi
HAHA! I made it. I found the solution for (1).
The function gettrail() uses the (') sign to display the image alt where it should use the (") sign. I.E The function should use the following code:
onmouseover="showtrail('images//b12.jpg',"B12 CHESS INFORMANT Caro-Cann by Sirawan",56,80,235,331,this,0,0,56,80);"
Instead of:
onmouseover="showtrail('images//b12.jpg','B12 CHESS INFORMANT Caro-Cann by Sirawan',56,80,235,331,this,0,0,56,80);"
Hope it helps anyone :)
Sorry guys/gals to bring this issue up again as I have pasted it under the CherryZen Template forum. i dont't know if this post belongs here or there.
I was runing a "sage" template and installed IH2. Ater that whenever you clicked on my sample test Image I got the message/error below even though everything looks right at www.afrosupermarket.com
Meaasge or Error Displayed"
xt' => "\n " . $link); $col ++; if ($col > (IMAGES_AUTO_ADDED -1)) { $col = 0; $row ++; } } // end for loop } // endif ?>
I thought it was a template error and so I switched to "Cherry zen" template and still get the same error. I have searched the developers tool kit to where I can locate that line of code for correction.
Is it with IH2 or I need to adjust some code to avoid seeing the message displayed.
I see that others have had trouble getting additional images working, as am I. I cannot find any solutions in the thread however. Here are a couple of product pages that should be showing additional images:
http://www.naturewearorganics.com/in...roducts_id=378
http://www.naturewearorganics.com/in...roducts_id=424
I can see the additional images in IH2. I just reuploaded all of the IH2 files to my server in case I had missed something, no change.
Does anyone have any ideas what else I can look at?
I have a problem with the hover effect in IE6 and IE7 and in Opera. The Firefox version 2 and 3 and also Safari is working well with the hover on the category-pages. But IE only hovers on the product info pages, not on the category or featured products. I stared quite a long time at the code, but cannot find what causes this...
Here's a url: http://rabe-und-rose.de/index.php
Thanks in advance for any helpful hints!
regards, miriam
Thanks for the feedback. I checked where you mentioned and the ending portion of the file is pasted below. What do I change and which line? Also Please click on a product and proceed to check out and see the Error At The Checkout Screen.
Thanks.
CONTENTS OF FILE:
// Build output based on images found
$num_images = sizeof($images_array);
$list_box_contents = '';
$title = '';
if ($num_images) {
$row = 0;
$col = 0;
if ($num_images < IMAGES_AUTO_ADDED || IMAGES_AUTO_ADDED == 0 ) {
$col_width = floor(100/$num_images);
} else {
$col_width = floor(100/IMAGES_AUTO_ADDED);
}
for ($i=0, $n=$num_images; $i<$n; $i++) {
$file = $images_array[$i];
$products_image_large = str_replace(DIR_WS_IMAGES, DIR_WS_IMAGES . 'large/', $products_image_directory) . str_replace($products_image_extension, '', $file) . IMAGE_SUFFIX_LARGE . $products_image_extension;
$flag_has_large = file_exists($products_image_large);
$products_image_large = ($flag_has_large ? $products_image_large : $products_image_directory . $file);
$flag_display_large = (IMAGE_ADDITIONAL_DISPLAY_LINK_EVEN_WHEN_NO_LARGE == 'Yes' || $flag_has_large);
$base_image = $products_image_directory . $file;
$thumb_slashes = zen_image($base_image, addslashes($products_name), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
$thumb_regular = zen_image($base_image, $products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
$large_link = zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL, 'pID=' . $_GET['products_id'] . '&pic=' . $i . '&products_image_large_additional=' . $products_image_large);
// Link Preparation:
$script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascriptopupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
$noscript_link = '<noscript>' . ($flag_display_large ? '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL, 'pID=' . $_GET['products_id'] . '&pic=' . $i . '&products_image_large_additional=' . $products_image_large) . '" target="_blank">' . $thumb_regular . '<br /><span class="imgLinkAdditional">' . TEXT_CLICK_TO_ENLARGE . '</span></a>' : $thumb_regular ) . '</noscript>';
// $alternate_link = '<a href="' . $products_image_large . '" onclick="javascriptopupWindow(\''. $large_link . '\') return false;" title="' . $products_name . '" target="_blank">' . $thumb_regular . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>';
$link = $script_link . "\n " . $noscript_link;
// $link = $alternate_link;
// List Box array generation:
$list_box_contents[$row][$col] = array('params' => 'class="additionalImages centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
'text' => "\n " . $link);
$col ++;
if ($col > (IMAGES_AUTO_ADDED -1)) {
$col = 0;
$row ++;
}
} // end for loop
} // endif
?>xt' => "\n " . $link);
$col ++;
if ($col > (IMAGES_AUTO_ADDED -1)) {
$col = 0;
$row ++;
}
} // end for loop
} // endif
?>
Hooray I solved it!!! or They helped me Solve It!
See 16 lines up from the last line of code in the Includes/modules/additinal_images.php,
There is a that says 'text' => "\n, i just removed "text" and now I don't get Error.
Thanks Folks.
The Check out screen still has a problem though. Just Try checking out a product.