Loading...
 
Features / Usability

Features / Usability


Can't use .swf as banner?

posts: 60

This is the HTML code I insert:

Copy to clipboard
<center> <OBJECT WIDTH="468" HEIGHT="60" id="codejock_468x60" ALIGN="" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"> <PARAM NAME=movie VALUE="http://www.cpp-home.com/Pictures/banners/codejock_468x60.swf?clickTAG=http://codejock.com/&target=_blank"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED WIDTH="468" HEIGHT="60" NAME="codejock_468x60" ALIGN="" src="http://www.cpp-home.com/Pictures/banners/codejock_468x60.swf?clickTAG=http://codejock.com/&target=_blank" bgcolor=#FFFFFF TYPE="application/x-shockwave-flash" quality=high PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT> <br> </center>

And it loads nothing. No error, but just as there is no banner.

posts: 2881 United Kingdom


certain HTML tags, of which object and embed are removed as part of a security measure.

You will have to add it directly into the TPL file instead of using banner tag.

Damian


posts: 50

I was curious about this too. When you say add it directly into the TPL file could you explain more, please. I'm assuming that is for template and so I would need to figure out if there is one template or many templates for my itkiwiki site.
Thanks,
Bruce

posts: 2881 United Kingdom

Easy:

  1. SSH to the site
  2. cd templates
  3. vi tiki-top_bar.tpl
  4. Enter the embed and object code
  5. :wq to save and exist
  6. refresh browser


smile

Damian


posts: 60

Can I un-remove these tags?
I really need to put .swf and putting it into the template is not OK because I want banners rotating system, and not fixed banner!

posts: 2881 United Kingdom

You can do they are in tiki-setup.php. However I must say that removing these tags, opens your site to a massive risk of security problems.

Damian


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting