Banners from hell?

sundayman

No avatar

2006-10-10 18:17

Hi!
Is there any possibility to have flash banners (.swf) under
the categories menu? Or maybe in som other place?

There is No problem at all to insert a picture there, but when
trying to insert a flash banner.....forget it...
I dont wanna use the simplebanner plugin, it made me almost threw my PC out!

You just see the border and no banner, why is that?
Can the .tpl not read .swf?

PLease help me.... ive been trying this for a day now :l

Maybe to put it "beside" the actual shop?


///sundayman

sundayman

No avatar

2006-10-10 19:50

is there anybody out there?

mad

No avatar

2006-10-10 20:27

One solution: open templates/page.tpl. Search <a href="?p="><img src="$config[dir_files]img/$config[logo_img]" alt="" /></a> and replace with your html code (to put the flash object), something like this:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0"
id="banner_menu" width="827" height="200">
<param name="movie" value="banner.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#FFFFFF"><embed name="banner" src="banner.swf" quality="high" bgcolor="#FFFFFF" width="827" height="198" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" ;>
</object>
Copy the swf animation in your shop directory.

sundayman

No avatar

2006-10-11 08:56

ok, mad, your solution replaces the head logo of my shop, right?

I actually got it to work last night.

In footer.tpl i added these lines just before quickcart link.
I used Dreamweaver 8. At first i forgot to put FULL url to my flash banners, so it didnt show them. After fixing that....Voila!!


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="150" height="60">
<param name="movie" value="http://www.pjfighter.com/webshop/templates/default/img/svindyr_banner_061010.swf" />
<param name="quality" value="high" />
<embed src="http://www.pjfighter.com/webshop/templates/default/img/svindyr_banner_061010.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="150" height="60"></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="150" height="60">
<param name="movie" value="http://www.pjfighter.com/webshop/templates/default/img/ny_pjfighter_banner_150x60.swf" />
<param name="quality" value="high" />
<embed src="http://www.pjfighter.com/webshop/templates/default/img/ny_pjfighter_banner_150x60.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="150" height="60"></embed>
</object>
|
powered by <a href='http://qc.opensolution.org' style='font-size: 10px;'>Quick.Cart</a> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td></td>
</tr>
</table>
</body>
</html>

sundayman

No avatar

2006-10-11 09:09

Another one:

If i want to add these banners outside the "shop area", to the left or right.
Is that possible?

which file do i have to mess with?

I got the 1.4 ver and uses template right.

Cheers!

Claps

Avatar: Claps

2006-10-11 09:28

sundayman - right.css and page.tpl, but you have to know CSS, is a css driven page.

sundayman

No avatar

2006-10-11 09:38

Well, shoot!

Thats not my game unfortunately....

So, theres no way i can do that without mastering css good?

Back to top
about us | contact