![]() |
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? |
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 |
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 :?
|
Boomer, I wasn't able to get the mod working. ???
so I reverted back to stock detailed images. I'm really confused. |
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 |
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 |
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} thanks in advance |
{if $images[1]}
|
great, thanks :)
|
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. |
Awesome mod Boomer!
btw, i found a small bug- When a detailed image is disabled in the admin control panel (product---> detailed images---> availability), it still shows up in the detailed images popup. |
Oops all the query needs added to it is WHERE avail='Y' or such, can't really stop and take a look. I'll try and update it once I get a chance. Thanks for pointing the bug out though, it seems I forget about that with some other mods in the past too.
Thanks. :wink: |
Great mod. I've managed to get it working fine, but does anyone know how to turn off the transition effects between detailed images?
|
I'm getting an error when I click the view details link where my pictures should be...
Parse error: parse error, unexpected T_STRING in /home/bercbl2/public_html/store/product_detailed_images.php on line 20 line 20 from the php file is: foreach($v as $kk=>$vv) { |
Hi,
Again, I'm not able to get thinks working :? . I've walked trought each step exactly, I get no error masages, but it just doesn't work. Can someone take a look, please :D http://hobbyhandig.webfontein.nl/product.php?productid=16193&cat=0&page=1 |
OK, I've got the 'View details' displaying, but it doesn't link to anything.
I saw code was using product id, but I'm not working with id's I use my own product codes. Can someone take a look at what I'm doing wrong? |
Around the javascript function call in product.tpl you'll need to add " " around the values as your using letters and numbers not just an integer (number). You may also need to adjust the SQL query in the php file in order for it to pull up properly based off the SKU.
|
:?: :oops:
I'm sorry, but I didn't get that. Here's the code involving detailed images in my product.tpl. Code:
{*** Detailed Image Popup mod by www.cart-lab.com ***} And I have no idea what you mean by: Quote:
I'm really sorry, but I'm no programmer. |
The basic jest: replace all productid or $productid with productcode or $productcode, and within the javascript call on the thumbnails use this instead:
Code:
{*** Detailed Image Popup mod by www.cart-lab.com ***} If you can't get this to work I can offer my services to do such customizations for you. |
Quote:
How much? I would like the following: In products_t.tpl I would like the thumbnail to give a Detailed Pop-up, with a link beneath it saying: Click image to enlarge. Beneath that I want a link to the product itself. At the product itself I want again the thumbnail to give the Detailed Pop-up. I don't think I have more than one detailed image per product. Can you give me an additional price if Detailed Pop-up can contain text (i.e. "this is the upper right corner of the product" or "size 12 x 13"). Hope you can help me with this. Thanks, Hobbyhandig[/quote] |
Re: Detailed Image(s) Popup 2.1 [3.4.x-4.0.x]
Fantastic Boomer
We have implemented the script and ity works very nice. We only would like to make the popup a little bit bigger so the complete pictures are shown, how to do that. many thanks again! See it at: http://www.svenskagolfbutiken.com/cart/ //Stefan Lundmark Quote:
|
This mod works great, but is there a way to change it like this...
I would like to leave thumbnail images on the product page, and when a customer clicks on the picture itself, a large version of the pic appears in a popup window. Can this be done? Also, is it possible to have labels for detailed images? With or without this mod. The alt tag helps, but it would be much better if I could have a title under each picture. I am using it to show fabric swatches, so each one needs to be identified so the customer can advise us which one they want. Thanks! |
Re: Detailed Image(s) Popup 2.1 [3.4.x-4.0.x]
Quote:
I have noticed that in IE, the popup is just a tiny bit smaller than the image, but in FireFox it is perfect. :) |
I'm trying to get this (great) mod working with thumbnails of the Detailed Images, instead of the Product thumbnail. But regardless which of the thumbnails I click, it always opens a popup of the first detailed image. After that I can click on next to see the other images, but it would be nicer (and make more sence) if the popup starts with the detailed image of correspondensing thumbnail.
Here's the code of my skin1/modules/Detailed_Product_Images/product_images.tpl : Code:
{* $Id: product_images.tpl,v 1.12 2004/05/28 12:21:05 max Exp $ *} Second problem I have, is that the popup window not aligns in the center of the screen, but always in the upper leftcorner. I really hope that somebody can help me with the above. Many thanks in advance! |
I would love to get this working on my site. I tried following the instructions but no luck :( It shows the thumbnail of the product but it's not clickable.
Perhaps the problem is because I installed X-Cart in the root directory of my site? What about how I created the new .tpl files. I just used notepad and saved them. They show up fine in the X-Cart admin area so I assumed it worked. Any advice would be appreciated. Thanks, Jennifer |
Re: Detailed Image(s) Popup 2.1 [3.4.x-4.0.x]
Quote:
That is because they have two different philosophies of what the windows size should be. In FF its the size of the viewable area, in IE its the size of the window as a whole. Which one is right? Hmmm... |
Re: Detailed Image(s) Popup 2.1 [3.4.x-4.0.x]
I followed the exact step-by-step here, but it doesn't work :( The page is still shows the detail image on there, instead of the thumb nail. Please let me know what I missed. I appreciate your help.
Thanks -Tuan Quote:
|
I was able to get this working for 4.0.9 but now I'd like to turn off the transitions. Has anyone sucessfully done this?
I deleted... function playeffect(){ if (document.all && photoslider.filters) photoslider.filters.revealTrans.play() ... and although that turns off the transitions, you have to press the "Next" button twice before it moves. I'm worried my visitors will only click it once and think there are no more images. Any help would be greatly appreciated... Thanks, Jennifer |
applyeffect and playaffect function calls in the forward and backward functions, simply // comment out
|
I commented out those sections and it didn't help. Still when I click the "Next" button the first time (and only the first time), nothing happens.
Any other ideas? Thanks, Jennifer |
Quote:
Thanks. |
Works Great in 4.0.11
Detailed Popup Window works great in 4.0.11 also.
Thanks bunches - I needed that. I used it in 3.5.4 and it worked then too. |
Got it working in 4.0.11
BOOMER~~~~~~
thanks..great mod... got it working in 4.0.11 nicely originally did not work..but i re-read the entire topic and found the entry about the product_detailed_images.php file having to be in the cart root directory in Version 4.xx.. moved it there and whoop-de-doo it worked. thanks Boomer et al... adds a little pinache to an otherwise boring process.... |
Very nice mod BOOMER! I do appreciate you sharing it. Thank you.
Anyone know how to work the detailed image's "Alternative text" into this mod? In some cases, it would be useful to display this text under the image, so the customer knows exactly what they are looking at. |
Here is what I did to get the ALT text to show at the top of the image. May not be the best implementation but oh well.
This is for 4.x skin1/customer/main/product_images.tpl Added photo_alt array in javascript Code:
{/literal} Added " document.all.photosalt.innerHTML=photos_alt[which]; " Code:
applyeffect() for the HTML Change the top part to Code:
{if $images[1].imageid ne ""} |
Hello all, i'm getting this error in the popup page
Quote:
this is line 10 on the product_detailed_image.php Code:
require "./auth.php"; when i changed it to the absolute path /home/httpd/vhosts/vtec.com/httpdocs/retail/auth.php it worked sorta but then it gave me another error message it said: Quote:
What gives? the version of x-cart i have is 4.0.4 Thank you for your help |
ah! nevermind
i just read someone's post about product_detailed_images.php has to be in the base directory for 4.0.x thanks! it works great now! |
Anyone sucessful getting this to run with v4.0.9?
|
I have it working in quite a few different versions of 4.0 including 4.0.9.
|
Thanks this script was exactly what I was looking for. I think you deserve a donation or something.
|
All times are GMT -8. The time now is 04:15 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.