Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

kidda

Archived
  • Posts

    25
  • Joined

  • Last visited

Profile Information

  • Real Name
    Chris

kidda's Achievements

  1. I have exactly the same problem is there any solution to this?
  2. Best to use this contribution for your paypal payments it will stop it happening: http://www.oscommerce.com/community/contributions,2679
  3. Oooops should be: <script language="javascript"><!-- document.write('<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" rel="lightbox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> <noscript> you need the 'addslashes' in otherwise it won't display a image if theres an apostrophe in the product description!!
  4. I'm just a newbie with code so please forgive me if I'm wrong (and please tell me) but I think the code should be: <script language="javascript"><!-- document.write('<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" rel="lightbox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> NOT AS IN THE INSTRUCTIONS: <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" rel="lightbox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> because if you disable java in your browser you get 2 images on your product info page with the original code because without using java to write the image code the browser reads it as 2 images, hope that makes sense!
  5. Saved me too! been looking everywere for this!!
  6. Thanks, swopped over to easyphp no problems!
  7. After trawling the forums again I found another couple of people with the same problem see the first posts on page: http://www.oscommerce.com/forums/index.php?sho...mp;#entry958112 in this thread, don't know how I missed them thought I'd read it all! Any ideas??
  8. Hi, I have installed the BDP and I'm testing locally using XAMPP server, ever since when I load the store, click on any link in the store I get loads of msdos box's come up running c:/windows/system32/cmd.exe the store works fine but this happens for every operation within the store. I have searched the forums and this thread and can't seem to find any info on this. Can anyone shed any light on this for me.
×
×
  • Create New...