Jump to content

Flash Banner


Recommended Posts

Hi try this m8

 

To insert a swf object in your header, the best solution is to edit in your theme folder the "header.tpl" file :

Code:

 

<!-- Header -->

<div>

<h1 id="logo"><a href="{$base_dir}" title="{$shop_name}"><img src="{$base_dir}img/logo.jpg" alt="{$shop_name}" /></a></h1>

                                // insert your swf code here

<div id="header">

{$HOOK_TOP}

</div>

</div>

 

let me know how you get on - be sure to backup you stuff first

Link to comment
Share on other sites

Hey,

 

I solve the problem. I think

 

 

fbannersz7.th.jpg

 

This is how I do it:

I insert the flash banner into the index.tpl just above the {$HOOK_HOME} using the SWFObject script to embed the swf instead of the original script generate by the Flash application. Then I paste the absolute path to the swf file and it works fine.

 

One more thing, I have the put the swfObject file in the JS folder and call it in the header.tpl

 

SWFObject link http://blog.deconcept.com/swfobject/

Link to comment
Share on other sites

  • 3 months later...
  • 1 year later...

There's a good module to replace the editorial block image with a cu3er flash banner. If you want to use flash, this is one of the prettiest solutions I think. But I try to avoid flash wherever possible, and prefer to use something like the editorials3slider module.

Do a forum search for each.

Link to comment
Share on other sites

×
×
  • Create New...