X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Flash (https://forum.x-cart.com/showthread.php?t=14585)

ozi 06-15-2005 01:06 AM

Flash
 
I am looking at putting a small flash banner at the top of my right side menu. I was wondering what code do I need to insert the flash banner there. I am using the neonlights flowers template, and wish to place it directly above the search box.

If anyone can help I would be very much appreciative.

OZI

ozi 06-15-2005 05:29 AM

code for above - trying to insert flash
 
This is part of the code for home.tpl . I am a complete amateur with this. But the flash file isn't even showing in my shop.. can someone please lead me in the right direction........

Code:

{if $main ne "catalog" or $current_category.category ne ""}
{include file="location.tpl"}
{/if}

{include file="dialog_message.tpl"}

{if $active_modules.Special_Offers ne ""}
{include file="modules/Special_Offers/customer/new_offers_message.tpl"}
{/if}
{include file="customer/home_main.tpl"}

 </TD>
<TD width="10"></TD>
<TD width="171" valign="top" class="VertMenuBox">
{if (($main eq 'catalog' && $cat ne '') || $main eq 'product') && $config.Appearance.enabled_printable_version eq 'Y'}
<DIV align="center">
{include file="printable.tpl"}
</DIV>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
 
  <tr>
    <td width="100%" height="90" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="171" height="90">
        <param name="movie" value="skin1/images/discountbus.swf"> />
        <param name="quality" value="high"> />
        <embed src="skin1/images/discountbus.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="171" height="90"></embed>
    </object></td>
  </tr>
</table>


{/if}
{include file="customer/search.tpl"}


ozi 06-15-2005 07:05 PM

Fixed it
 
I fixed it. /if} was in wrong place....


All times are GMT -8. The time now is 01:18 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.