Jump to content

elphaba826

Members
  • Content count

    2
  • Joined

  • Last visited

  1. elphaba826

    [Contribution] STS v4

    That was it! I don't even remember turning that feature on. Thank you so much! :blush:
  2. elphaba826

    [Contribution] STS v4

    I'm not sure if this issue is related to STS or not... but since I have STS installed, I figured I'd ask here first. My popup images are not working. I've spent quite a while searching the forums for a solution, but I haven't found anything that will solve my problem. I have the required javascript at the top of my page (twice, actually... I have to go in and figure out where the second one is coming from). I have everything else that should be there. When the "Click to Enlarge" link is clicked, a new window does open. But instead of showing the picture, it shows my template with lots of $variables thrown in there. The problem seems to be that the url that's being sent to the popup function is being formed the wrong way. Instead of being something like http://www.site.com/popup_image.php?pID=49, it's coming through as http://www.site.com/popup_image.php/pID/49. I checked the product_info.php page, and found what I think is the line that writes out the code for the popup link: document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . 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>'; ?>'); I'm a total php newbie, and I can't quite figure out what is causing my issue. Help! If it helps, here is a link to a product page on my site: http://emmayanaturals.com/product_info.php/products_id/49
×