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

Now to place flash file in detailed images

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-09-2004, 05:23 AM
 
amil amil is offline
 

Newbie
  
Join Date: Nov 2003
Posts: 3
 

Default Now to place flash file in detailed images

Hello!

I want swf file's or html files with swf to be desplayed at the detailed imeges
any advices are welcome thanks!
Reply With Quote
  #2  
Old 01-09-2004, 05:30 AM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

Post this in Wishlists or please search around the board.

This forum is for sharing your Custom X-Cart modifications with other users only. Please READ before you post!

Quote:
Custom Mods & Templates
Have you created a custom tool, feature or design that you want to show off? You can post your personally customized templates here and share your work with the forum. Please, no requests or wish lists here - this topic is only for posting customized X-cart files

Rules
http://forum.x-cart.com/viewtopic.php?t=6489
You should read this thoroughly. Your X-cart version and server information NEED to be in your signature.
Reply With Quote
  #3  
Old 01-09-2004, 05:32 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

moved
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #4  
Old 01-13-2004, 02:00 PM
 
Gibberish Gibberish is offline
 

Senior Member
  
Join Date: Sep 2003
Posts: 182
 

Default

Very rough breakdown of steps:

Find out if the user has flash. Run a script or make them click a button that turns something like $flash_mode = ON

Once you find they have flash you need to edit the product thumbails.tpl or detailed image module to an if statement.

So it will say something like {if $flash_mode eq "ON"} play a swf {else} do a normal thumbnail {/if}

Hard part is writing the code to play the swf. If you name all your swf's the $productid.swf (ex: 3462.swf) then you should be able to find the $productid part fairly simply with php and just have it put .swf at the end and look in a certain folder.

Sorry dont have time to write something up, I just wanted to give you an outline of my idea to do this. I will be adding this feature to my site mid year once the low bandwidth site is done and 100%.
__________________
Gibberish
[Unix] X-Cart 4.0.12
Reply With Quote
  #5  
Old 09-18-2004, 11:23 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

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

Default

http://www.cart-lab.com/lab/customer/product.php?productid=46
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
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 07:31 PM.

   

 
X-Cart forums © 2001-2020