- Title: Member
- Status: Offline
- From: Amsterdam
- Registered: 2009-04-23
- Posts: 104
Topic: How to place a flash banner
Dear all,
I have a question about placing a flash banner on my site. I would like to know what you've got to edit in PHP for that effect?
I would like to have the banner just above the footer links and below the job openings. The banner would be 700 px wide and quite thin 40px.
Thanx
- Title: Administrator
- Status: Offline
- Registered: 2008-08-20
- Posts: 234
Re: How to place a flash banner
Hi,
You need to edit in _templates/footer.tpl. Place the embed code:
Code:
<object height="40" width="700" align="left" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="path_to_flash/flash.swf" name="movie"/>
<param value="high" name="quality"/>
<embed height="40" width="700" align="left" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" quality="high" src="path_to_flash/flash.swf"/>
</object>
just before the line:
Code:
</div><!-- #container -->
Good luck!
- Title: Member
- Status: Offline
- From: Amsterdam
- Registered: 2009-04-23
- Posts: 104
Re: How to place a flash banner
Thanx for the reply!
Unfortuanelly I can't get it to work.
This is partially my code from the footer.tpl I've put the .swf (name is movie.swf)file in the root folder. I also tried it to place it in root/flash/. Both doesn't work.
What am I doing wrong?
Code:<object height="80" width="700" align="left" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
<param value="path_to_flash/movie.swf" name="movie"/>
<param value="high" name="quality"/>
<embed height="80" width="700" align="left" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" quality="high" src="path_to_flash/movie.swf"/>
</object>
</div><!-- #container -->
<div class="footer">
<div id="footer-contents">
<div id="footer-col1">
{$translations.footer.column_use}:<br />
- Title: Administrator
- Status: Offline
- Registered: 2008-08-20
- Posts: 234
Re: How to place a flash banner
Hi,
Have you tried giving the full path? Like:
Code:
<param value="{$BASE_URL}movie.swf" name="movie"/>
and
Code:
<embed height="80" width="700" align="left" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" quality="high" src="{$BASE_URL}movie.swf"/>
with the movie being in the root folder?
- Title: Member
- Status: Offline
- From: Amsterdam
- Registered: 2009-04-23
- Posts: 104
Re: How to place a flash banner
Great Tip!!
It works now thank you for the tip!!!!!!
- Title: Member
- Status: Offline
- From: Amsterdam
- Registered: 2009-04-23
- Posts: 104
Re: How to place a flash banner
Hey all an update on this post!
To let the flash movies show in internet explorer use this line of code. If you want more info on this subject check this out.
http://code.google.com/p/swfobject/downloads/list
&
http://code.google.com/p/swfobject/
Code:<object id="myId" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="300" height="250">
<param name="movie" value="test.swf" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="test.swf" width="300" height="250">
<!--<![endif]-->
<div>
<h1>Alternative content</h1>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
Last edited by chrisdegrote (2009-06-18 22:59:55)
- Title: Member
- Status: Offline
- From: Amsterdam
- Registered: 2009-04-23
- Posts: 104
Re: How to place a flash banner
But I see now that the flash banners down on my site are only shown on the homepage and not on the other pages. What could be the cause of that?
- Title: Administrator
- Status: Offline
- Registered: 2008-08-20
- Posts: 234
Re: How to place a flash banner
Hi,
You can only see the first flash movie from the bottom. You forgot to put {$BASE_URL} in front of reclamebaanict.swf for the rest
Both in the param and the object tag.
- Title: Member
- Status: Offline
- From: Amsterdam
- Registered: 2009-04-23
- Posts: 104
Re: How to place a flash banner
Thanx again for your fast and adequate respons!!
Posts [ 9 ]
Guest posting is disabled. You must login or register to post a reply.