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

Detailed Image(s) Popup 2.1 [3.4.x-4.0.x]

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 08-11-2004, 05:20 AM
 
sstillwell@aerostich.com sstillwell@aerostich.com is offline
 

eXpert
  
Join Date: Jun 2004
Location: Duluth, MN
Posts: 242
 

Default

This site has 4.0.1 and uses Boomers detailed image pop up.

There is only one detailed image per product, but you'll see that it works good.

Just had to install the file product_detailed_images.php file in the xcart root, not xcart/customer. That is because 4.0 changes some locations of files.

dev2.ridetowork.org
__________________
No longer using Xcart, was good while it lasted.
Reply With Quote
  #22  
Old 08-11-2004, 10:16 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 sstillwell@aerostich.com
Thanks for the Mod, its great. Just have a slight change to your post. I'm not sure what the case is for xcart 3.x, but for 4.0.1. The detailed images have Position and Availbility fields.

replace the following in product_detailed_images.php
Code:
$images = func_query("select * from $sql_tbl[images] where productid='$productid' order by imageid");

With
Code:
$images = func_query("select * from $sql_tbl[images] where productid='$productid' and avail = 'Y' order by orderby");

That way your mod can take advantage of the "Pos" and "Availablity" settings from the admin side for detailed images.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #23  
Old 08-11-2004, 07:08 PM
 
xcell67 xcell67 is offline
 

Senior Member
  
Join Date: Dec 2003
Posts: 149
 

Default

awesome mod boomer but how do u change the brown background color? the pic itself is on a white background, but when you expand the window, the outer background is brown. Which variable needs to be changed for the color?

thanks
Reply With Quote
  #24  
Old 08-11-2004, 07:30 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

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

Default

class="VertMenuBorder" and class="VertMenuBox" in skin1.css are used for the colors, as well as the base background color.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #25  
Old 08-15-2004, 03:22 AM
 
gregl gregl is offline
 

Advanced Member
  
Join Date: Jun 2004
Posts: 98
 

Default

Absolutely brilliant Boomer,

Works 100% on our site which is running XCart 4.02.

One small tweak I'v been trying to achieve with no success, is in the instance of two detailed images being available, I have to drag the pop-up
window larger to see the next & previous options. Where do I change
that initial sizing

Great job again,

Greg
XCart 4.02
Product Configurator
AOM
Linux
Zeus Server
Reply With Quote
  #26  
Old 08-15-2004, 04:30 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default

Quote:
I have to drag the pop-up
window larger to see the next & previous options.

This happens to me with the images in the demo. Try your own images and you'll find the initial sizing works. It's a strange one that.
__________________
xcartmods.co.uk
Reply With Quote
  #27  
Old 08-15-2004, 12:58 PM
 
gregl gregl is offline
 

Advanced Member
  
Join Date: Jun 2004
Posts: 98
 

Default

Thanks PhilJ,

but I am using my own images. I've played around with the initial
resizing values, but nothing changes at all. I know I must be
missing something pretty basic.

Boomer where are you?

Regards
__________________
XCart 4.0.19
XConfigurator 4.0.19
AOM 4.0.19
Zeus Server
Reply With Quote
  #28  
Old 08-16-2004, 06:59 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

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

Default

I haven't been able to reproduce the problems you guys are refering to, do you have a link perhaps that I could see exactly what the problem is?
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #29  
Old 08-16-2004, 02:44 PM
 
gregl gregl is offline
 

Advanced Member
  
Join Date: Jun 2004
Posts: 98
 

Default

Hi Boomer,


Go to www.stonecomputers.com.au and click on the cases link on the left, choose standard then MAGPAC P309B 300W ATX MIDI TOWER. When you go to the detailed images section, you have to drag the window open to see the next/previous options.

Great mod just the same.

Regards
__________________
XCart 4.0.19
XConfigurator 4.0.19
AOM 4.0.19
Zeus Server
Reply With Quote
  #30  
Old 08-16-2004, 02:51 PM
 
gregl gregl is offline
 

Advanced Member
  
Join Date: Jun 2004
Posts: 98
 

Default

Boomer,

forget my last reply, I've just looked at the site through another machine
and it's perfect. I've been playing with my own machine and "skinned" IE for something different, Set it back to default skin and no problemo. Sorry to bug you when there is no bug.
Just quickly though, as i'm still a bit of a dufus with XCart, because you use the Skin1css for the colours, is there a quick way I can change the pop window background colour to white without changing
the whole site?
Thanks
__________________
XCart 4.0.19
XConfigurator 4.0.19
AOM 4.0.19
Zeus Server
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:06 PM.

   

 
X-Cart forums © 2001-2020