hi,
trying to figure out the best way to add a small flash movie to my front page. currently i'm using a static image embedded in the welcome.tpl file. here's the code:
Code:
{* $Id: welcome.tpl,v 1.28.2.1 2006/07/12 04:51:17 svowl Exp $ *}
{*DELETED HEADLINE AREA*}
{*
{if ($active_modules.Greet_Visitor ne "") and ($smarty.cookies.GreetingCookie ne "") and $logout_user eq ''}
{assign var="_name" value=$smarty.cookies.GreetingCookie|replace:"\'":"'"}
<h3>{$lng.lbl_welcome_back|substitute:"name":$_name} </h3>
{elseif $lng.lbl_site_title}
<h3>{$lng.lbl_welcome_to|substitute:"company":$lng.lbl_site_title}</h3>
{else}
<h3>{$lng.lbl_welcome_to|substitute:"company":$config.Company.company_name}</h3>
{/if}
*}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="{$ImagesDir}/front_page1.jpg"></td>
<td class="frontpageRight">{$lng.txt_welcome}</td>
</tr>
</table>
<br />
{if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu ne "Y"}
{include file="modules/Bestsellers/bestsellers.tpl"}
{/if}
<br />
{include file="customer/main/featured.tpl" f_products=$f_products}
simply replacing the "{$ImagesDir}/front_page1.jpg" with "{$ImagesDir}/front_page1.swf" aint working, so what do i need to do?
i did check out
this thread but i couldn't really make sense of it. any help would be greatly appreciated.