Thread: Flash in X-cart
View Single Post
  #5  
Old 03-12-2008, 12:51 PM
 
AG9V AG9V is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 73
 

Default Re: Flash in X-cart

The welcome image is loaded from this tempate: skin1/customer/main/welcome.tpl so you will need to edit this file. I recommend backing up first.

Quote:
<h3>{$lng.lbl_welcome_to|substitute:"company":$lng .lbl_site_title}</h3>
{else}
<h3>{$lng.lbl_welcome_to|substitute:"company":$con fig.Company.company_name}</h3>
{/if}
{$lng.txt_welcome}
<br />

In my site I remarked out the code including lbl_site_title and txt_welcome and used Dreamweaver CS3 to insert my swf animation code:

Quote:
<center>
<p>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0','width','300','heigh t','400','src','{ImagesDir}/front','scale','exactfit','quality','high','bgcolo r','#FFFFFF','movie','{ImagesDir}/front' ); //end AC code
</script><noscript><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="300" height="400">
<param name="movie" value="{ImagesDir}/front.swf">
<param name="quality" value="high"><param name="BGCOLOR" value="#FFFFFF"><param name="SCALE" value="exactfit">
<embed src="{ImagesDir}/front.swf" width="300" height="400" scale="exactfit" quality="high" type="application/x-shockwave-flash" bgcolor="#FFFFFF"></embed>
</object>

You will have to play with your template file due to the layout of your store, but it should not be too difficult at all.
__________________
X-Cart Gold 4.1.10
XCSEO Pro 1.1.7
IIS 7 / Windows 2008
PHP Version 5.2.6
MySQL Version 5.0.51a
Reply With Quote