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

Using Shadowbox without popup

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-22-2009, 07:10 AM
 
buddy buddy is offline
 

Advanced Member
  
Join Date: Nov 2007
Posts: 97
 

Default Using Shadowbox without popup

Hello,
i have a website that's using X.cart with Shadowbox.
Actually, in the product's details, i have "click here for preview". If i click on that link, a pop up will appear and show video preview.

Now i would want to insert video preview without popup: is it possible?

Thank you for your suggestions.

__________________
Buddy

X-Cart DB Version: 4.4.2 GOLD
Reply With Quote
  #2  
Old 06-22-2009, 07:24 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Using Shadowbox without popup

First, this is not a COPMPLETED custom mod, so I'm moving this thread to template editing.

Next, if you search the forum for "shadowbox" you will discover many of us are using it. You will replace the popup code with shadowbox code -- but that has already been discussed in other threads. The key is making shadowbox work perfectly on a plain html page, then use that code to replace the popup code in product.tpl - but that is beyond the scope of this thread... the other threads have already addressed this.

Good luck.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #3  
Old 06-22-2009, 07:28 AM
 
buddy buddy is offline
 

Advanced Member
  
Join Date: Nov 2007
Posts: 97
 

Default Re: Using Shadowbox without popup

Thank you Carpediem.

I hope to find really what i'm searching.

Bye
__________________
Buddy

X-Cart DB Version: 4.4.2 GOLD
Reply With Quote
  #4  
Old 06-22-2009, 08:47 AM
 
buddy buddy is offline
 

Advanced Member
  
Join Date: Nov 2007
Posts: 97
 

Default Re: Using Shadowbox without popup

Hello,
i have copied shadowbox_videos.tpl code into product.tpl but unfortunately i have these errors:

Error: Smarty error: [in customer/main/product.tpl line 14]: syntax error: unidentified token ';Y"' (Smarty_Compiler.class.php, line 1405) in /home/username/public_html/shop/Smarty-2.6.19/Smarty.class.php on line 1092

Parse error: syntax error, unexpected '&' in /home/username/public_html/shop/var/templates_c/%%70^70F^70F20BF0%%product.tpl.php on line 33

Somebody can help me?

Thank you
__________________
Buddy

X-Cart DB Version: 4.4.2 GOLD
Reply With Quote
  #5  
Old 06-23-2009, 01:57 AM
 
buddy buddy is offline
 

Advanced Member
  
Join Date: Nov 2007
Posts: 97
 

Default Re: Using Shadowbox without popup

Someone can help me to integrate swf video directly into the page and not into the popup?

Thank you!
__________________
Buddy

X-Cart DB Version: 4.4.2 GOLD
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 01:11 PM.

   

 
X-Cart forums © 2001-2020