X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Detailed Image(s) Popup 2.1 [3.4.x-4.0.x] (https://forum.x-cart.com/showthread.php?t=8460)

enge919 09-02-2004 11:17 PM

Trying to work this code in 3.5.11 and just keep getting page not found error in the popup. I have reverted back to reinstalling the original code from page 1 of this mod in my clients site, still, http 404 error page not found.

Any suggestions?

enterfusion 09-10-2004 05:37 PM

I think I followed the directions precisely...
 
I have gone over it over and over agian, but it didn't seem to do anything, my Detail page still come up instead of the popup window, all the files are there but changes to the product.tpl don't seem to effect the outcome.

Any ideas what I could be doing wrong?

-Eric

B00MER 09-10-2004 05:45 PM

I've applied the mod to 3.5.x sites before using the same code snippets and instructions from this post. I'm not sure why it would cause a 404 page, unless the javascript popup window isn't pointing to the proper location of the php. 8O :?

koby 09-10-2004 05:46 PM

Boomer, I wasn't able to get the mod working. ???

so I reverted back to stock detailed images.

I'm really confused.

enterfusion 09-10-2004 05:52 PM

Got it to work kind off...
 
I want to place the popups on the products.tpl, not the product.tpl and I would like it to just pull the thumbnail image, instead of the detail image, thats because the thumbnails are already quote large and they are just beeing downsampled on the product.tpl page. Can anyone modify the existing script with these changes?

I am finding SMARTY code to be difficuly for non-smarty people. 8O

-Eric

enterfusion 09-10-2004 06:02 PM

Oh I guess I should say I got it working...
 
I got it working, for what it was suppose to do, but I need help modifying it cause I need it on products.tpl and I need it to pull the thumbnail not the large image. Tried just copying the code from product to products but that didn't work and all the images came up as Missing.

-Eric

8O

keavy 09-24-2004 10:03 AM

anyone any idea how I would have this option active ONLY if there is more than 1 detailed image?

so I'm presuming this line:
Code:

{if $active_modules.Detailed_Product_Images ne "" && $images}
would change - but am not sure what to :D

thanks in advance

B00MER 09-24-2004 10:29 AM

{if $images[1]}

keavy 09-24-2004 11:18 AM

great, thanks :)

mixman 10-14-2004 09:20 AM

Great Mod
 
Hi Boomer,

Your mod works great on 4.04. I was wondering if it is possible to have the first detailed image show up in place of the thumbnail image (when in the product details page) and when you select see larger view(your mod) the pop-up window would show only the second detailed image.


All times are GMT -8. The time now is 05:57 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.