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

Shadowbox Integration

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #21  
Old 08-27-2008, 11:37 AM
 
sg_web sg_web is offline
 

Member
  
Join Date: May 2008
Posts: 29
 

Default Re: Shadowbox Integration

well, finely making some progress with a lightbox but it's only working when i don't have any detailed images. if there are detailed images with the product, it reverts back to the standard detailed images mod. disabling "Display detailed images in a popup window:" didn't help.

my product.tpl file is heavily customized so that could also be the issue. here's the code that generates an image on the product page:

Code:
<div id="product_image"> {$product.imgurl} {* PHP Site Solutions - Dynamic Images *} {if $active_modules.PHPSS_Dynamic_Images ne ""} {assign var=phpss_dyn_img_width value=$config.PHPSS_Dynamic_Images.phpss_dyn_img_prodtpl_img_width} {/if} {* / PHP Site Solutions - Dynamic Images *} {if $product.imageurl ne '' } <img src="{$product.imageurl}" alt="{$product.product}"/> {elseif $active_modules.Detailed_Product_Images ne "" && $config.Detailed_Product_Images.det_image_popup eq 'Y' && $images ne '' && $js_enabled eq 'Y'} {include file="modules/Detailed_Product_Images/popup_image.tpl"} {else} {* PHP Site Solutions - Dynamic Images *} <a href="{$product.tmbn_url}" title="{$product.product|escape}" rel="lytebox[detailed]"><img src="{thumb file=$product.tmbn_url width=$phpss_dyn_img_width|default:$product.image_x link=false hint=false get_image_path=true}" id="product_thumbnail" class="thumb" alt="{$product.product|escape}" /></a> &nbsp; {* / PHP Site Solutions - Dynamic Images *} {/if} {if $active_modules.Magnifier ne "" && $config.Magnifier.magnifier_image_popup eq 'Y' && $zoomer_images ne '' && $js_enabled eq 'Y'} {include file="modules/Magnifier/popup_magnifier.tpl"} {/if} </div>

any suggestions?
__________________
X-Cart version 4.1.10 and 4.2 for client sites

Sandi Gauder
CMS Web Solutions Inc.
cmswebsolutions.com
Reply With Quote
  #22  
Old 08-27-2008, 11:42 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: Shadowbox Integration

What is that $product.imageurl bit referring to?
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #23  
Old 08-27-2008, 11:44 AM
 
sg_web sg_web is offline
 

Member
  
Join Date: May 2008
Posts: 29
 

Default Re: Shadowbox Integration

we need to publish the large product image and also detailed images if there are any. this page might give you a better idea of what we're trying to accomplish http://cmswebsolutions2.com/ballance/product.php?productid=2&cat=&page=1
__________________
X-Cart version 4.1.10 and 4.2 for client sites

Sandi Gauder
CMS Web Solutions Inc.
cmswebsolutions.com
Reply With Quote
  #24  
Old 08-27-2008, 01:19 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: Shadowbox Integration

If you'd like, contact me via email, I'll help you figure out a solution
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #25  
Old 08-27-2008, 08:53 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Shadowbox Integration

If you are having issues with several javascript initializations conflicting with each other - you might find the methods described here useful: http://www.dyn-web.com/tutorials/combine.php
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #26  
Old 09-02-2008, 12:35 PM
 
sg_web sg_web is offline
 

Member
  
Join Date: May 2008
Posts: 29
 

Default Re: Shadowbox Integration

Hi Jon,

Thanks for the offer. I've sent an email off to you about getting this working.
__________________
X-Cart version 4.1.10 and 4.2 for client sites

Sandi Gauder
CMS Web Solutions Inc.
cmswebsolutions.com
Reply With Quote
  #27  
Old 09-30-2008, 12:31 AM
  mitash's Avatar 
mitash mitash is offline
 

X-Adept
  
Join Date: Jan 2006
Location: Australia
Posts: 450
 

Default Re: Shadowbox Integration

Hi,

I have installed X-Cart_Shadowbox_Integration_v4.1.x.zip mod but it is giving the following error

Fatal error: Smarty error: [in shadowbox/shadowbox_videos.tpl line 1]: syntax error: unrecognized tag: continuous:true (Smarty_Compiler.class.php, line 436) in /home/bol14453/public_html/Smarty-2.6.10/Smarty.class.php on line 1088

when I put last peace of code which is from install.txt

6) In /skin1/customer/main/product.tpl

Add this code wherever you want your product detailed image(s) to appear...

{include file="shadowbox/shadowbox_images.tpl"}

Add this code wherever you want your product video(s) to appear...

{include file="shadowbox/shadowbox_videos.tpl"}

Can anyone help me out. Help would be highly appreciated.
__________________
eCommerce - Strategy / Design / Development / Marketing / Maintenance

Call within Australia:
Phone: 1300 648 274 | Mobile: 0417 241 950
Call outside Australia:
+61 417 241 950 |

Email:
results@mitash.com | Skype: mitashau | Web: www.mitash.com
Reply With Quote
  #28  
Old 11-06-2008, 11:42 AM
 
aferg aferg is offline
 

Member
  
Join Date: Oct 2008
Posts: 18
 

Default Re: Shadowbox Integration

I've got the same problem....Any solutions?
__________________
X-Cart DB Version: 4.1.11 GOLD
www.everylittlebitgreen.com
Reply With Quote
  #29  
Old 12-24-2008, 11:33 AM
 
KeithXtreme KeithXtreme is offline
 

Advanced Member
  
Join Date: Mar 2008
Location: Oklahoma
Posts: 46
 

Default Re: Shadowbox Integration

Man I had to restore my site from a 2 day old backup and now Shadowbox will not work...

I un-installed everything downloaded the latest and installed it all....all the tables are in the database....the text shows up with magnifying glass.....but if you click on the picture, it just opens in the same window, if you click on the text it opens in a seperate window....

This weird....I wonder if it has anything to do with smarty upgrade Smarty-2.6.19 going to 4.1.11???
__________________
http://www.chopworx.com
Gold Version 4.1.11
Fancy Categories
Shipper Per Product
Featured Products
Gallery V3
Store Manager
Reply With Quote
  #30  
Old 12-24-2008, 11:48 AM
 
KeithXtreme KeithXtreme is offline
 

Advanced Member
  
Join Date: Mar 2008
Location: Oklahoma
Posts: 46
 

Default Re: Shadowbox Integration

I found the JS patch in the fix folder....but that did not help.

When you hover the pointer over the link it just shows a normal URL, shouldn't it show a call to javascript?
__________________
http://www.chopworx.com
Gold Version 4.1.11
Fancy Categories
Shipper Per Product
Featured Products
Gallery V3
Store Manager
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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 08:27 PM.

   

 
X-Cart forums © 2001-2020