Loading...
 
Skip to main content

Development


FlashInBanners

I am increasing being asked to get Flash content in my banners and currently I don't see a way to do-it.

Has anyone done this?

I'm not sure about using Flash directly in Tiki, such as in the banner content itself. But if something direct like that won't work, how about making an HTML banner that contains an iframe that loads an external source file containing the Flash banner?

-- Gary - themes.tw.oQuestion

> I'm not sure about using Flash directly in Tiki, such as in the banner content itself. But if something direct like that won't work, how about making an HTML banner that contains an iframe that loads an external source file containing the Flash banner?
>
> — Gary - themes.tw.oQuestion

That sounds interesting. I'm still new to tikiwiki and I am still exploring the possibilities with it however, all of the HTML I put in had been stripped out and all I was left with was a few tags. It was also easy to break tikiwiki, can't remember now the details, so please don't ask 😊

From what I can gather, HTML gets parsed by smarty (at least I think it's smarty) and you end up with nothing useable - am I wrong? How can I stop smarty processing and stripping out the HTML it does not think should be there?

Cheers

J.

> From what I can gather, HTML gets parsed by smarty (at least I think it's smarty) and you end up with nothing useable - am I wrong? How can I stop smarty processing and stripping out the HTML it does not think should be there?

The file that's the source for the iframe is external, outside Tiki, which just provides a frame for it to display in. This is the reason Javascript can be done in iframes the same way. To see a crude example, go to zukakakina.com and change the theme to Tikineat.

I made a new directory where I put the .swf file and the HTML file for the .swf. The new banner is an HTML type and its data is the iframe code that calls the html file.

-- Gary - zukakakina.comQuestion

> To see a crude example, go to zukakakina.com and change the theme to Tikineat.
> I made a new directory where I put the .swf file and the HTML file for the .swf.

Sorry Gary, I could not see what you are referring to. Changed the theme to Tikineat and did not see any banner or the offer of grabbing a file/source or seeing the flash/iframe example you mentioned.

Did I do something wrong?

Cheers

J.

> > To see a crude example, go to zukakakina.com and change the theme to Tikineat.
> > I made a new directory where I put the .swf file and the HTML file for the .swf.
>
> Sorry Gary, I could not see what you are referring to. Changed the theme to Tikineat and did not see any banner or the offer of grabbing a file/source or seeing the flash/iframe example you mentioned.
>
> Did I do something wrong?

No, it was me. The banner's HTML got replaced somehow on my Admin Banner page. If you try again, you should be able to see the banner displaying at the top of the page.

The banner is an HTML type, with this content (angle brackets replaced with parentheses here):

Copy to clipboard
(iframe id=top_bar frameborder=0 name=Content src='http://zukakakina.com/banners/flash1/banner1.html' width="468" height="61" scrolling="no")(/iframe)


banner1.html is a simple page with just the code to display the .swf file. What I just noticed, though, is that it isn't working as a link — you can't click on it. I'll have to check on that. 😐

-- Gary


Hi Gary

Looks like there is some coding error. The anchor tag is missing, so is the closing angle bracket of a div..

Sorry, the "CODE" quicktags would not display the code, so I can't show it.

But I get the idea, will give it a try.

Thanks

J.