Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Detailed Product Images Popup on Thumbnail click.

 
Closed Thread
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #81  
Old 05-06-2004, 09:17 AM
 
Gibberish Gibberish is offline
 

Senior Member
  
Join Date: Sep 2003
Posts: 182
 

Default

Donne how did you get your detailed images to call from a specific folder and not from the database? I got my thumbnails to grabe from a folder but the detailed image gives an error.

If anyone knows please help, I am a real amatuer at javascript.

Here is my detailed image script from my proeduct.tpl
Code:

Here is my javascript
Code:
{literal} <SCRIPT language=JavaScript1.2> <!-- function productImageDetail(productcode) { var productcode = $product.productcode; var w = "420"; //width var h = "420"; //height window.open('http://myurl.com/images/'+productcode+'.jpg','height='+h+',width='+w+',toolbar=no,scrollbars=no'); } --> </SCRIPT> {/literal}
__________________
Gibberish
[Unix] X-Cart 4.0.12
  #82  
Old 05-18-2004, 04:26 PM
 
GM GM is offline
 

eXpert
  
Join Date: Mar 2004
Location: Canada
Posts: 293
 

Default

BOOMER once again, AWESOME Mod! But I have to admit that I'm a little confused after pouring through this thread (too many changes ... nerological overload ) Could you put it up on Cart Lab or lay it all out again in one post?
__________________
v. 4.0.14 (GM Style)
O.S. Linux
Build Your Own Diamond Ring
  #83  
Old 05-19-2004, 05:03 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Quote:
Originally Posted by GM
Could you put it up on Cart Lab or lay it all out again in one post?

I'll try and get a package up for this mod under freebies on cart-lab.com soon. Maybe even add some features to it
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
  #84  
Old 05-19-2004, 05:37 AM
 
GM GM is offline
 

eXpert
  
Join Date: Mar 2004
Location: Canada
Posts: 293
 

Default

The BOOMER Rocks!
__________________
v. 4.0.14 (GM Style)
O.S. Linux
Build Your Own Diamond Ring
  #85  
Old 05-20-2004, 11:49 AM
 
mizzlewillz mizzlewillz is offline
 

Advanced Member
  
Join Date: Apr 2004
Posts: 45
 

Default Problem with popup

Hey Great Mod,

One question, I copied and pasted everything and did not modify it. When I go and click on the picture the javascript works but it loads my mainpage and not the detailed image?

Any Ideas?

Thanks,

mike
  #86  
Old 05-20-2004, 11:52 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Make sure the javascript is calling the: ../customer/product_detailed_images.php file, and also be sure you've created this file under customer/

Soon as I get some free time I'll put this up on cart-lab.com for download with a readme.

hth.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
  #87  
Old 05-21-2004, 05:28 PM
 
Donne Giovani Donne Giovani is offline
 

Member
  
Join Date: Nov 2002
Posts: 27
 

Default Same Problem...

Boomer -

I have a different mod based on yours.

It works on older versions of X-Cart, but not the latest.

When the javascript is called, it opens the main page of the website.

I can put any .php file in here and it does the same thing.

Did they change something with the latest release?

Thanks,

David Young
  #88  
Old 06-12-2004, 01:30 PM
 
xcell67 xcell67 is offline
 

Senior Member
  
Join Date: Dec 2003
Posts: 149
 

Default

hi,
did anyone ever figure out how to get it called from the filesystem rather than the DB?
  #89  
Old 07-12-2004, 07:14 AM
 
MOC MOC is offline
 

Senior Member
  
Join Date: Oct 2002
Posts: 171
 

Default

How can this mod be used, to let just the product thumnail to popup?
  #90  
Old 07-14-2004, 02:52 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Version 2.0 Released, locking this thread down.

http://forum.x-cart.com/viewtopic.php?t=11621
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Closed Thread
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020