Contao Open Source CMS > Contao forum

Switch to german forum

Index > Contao core > Flash Content

tecnomaster
User
Avatar
Greetings,

I need help putting a. Swf in an article?

I have sought information but I can not understand how to do it.

Thank you
2008-10-22 01:42
YvetteKuhns
User
Avatar
Did you try creating a module? See http://dev.typolight.org/wiki/EnglishFlash for help.
2008-10-22 01:49
tecnomaster
User
Avatar
iconYvetteKuhns:
Did you try creating a module? See http://dev.typolight.org/wiki/EnglishFlash for help.


Thank you for trying to help me but I fail to understand how it works.

Not to do. I am no expert in flash.

Thank you
2008-10-22 04:41
thyon
User
Avatar
Posts: 1756
Cape Town, South Africa
Its very easy.

You just upload your swf file into your tl_files/ folder, e.g.

tl_files/swf/myflash.swf

You have to use the MODULES to create a module for flash first (as you cannot add it directly as a content element). Select the file above, width, height and save. You can also select [ x ] Interactive, and also set the Flash version. A good idea is to provide the alternative content (as an image or a warning, that you need flash).

Then you go to the article, insert the module above as a CE (content element). Remember to give it an CSS ID (at the bottom), so you can style it easily with CSS (the ID is ignored if you set it in the module).

You can also apply the module directly into your layouts, so is will appear in the header (if this is a repeating company header)

If you're looking to insert .flv movies, you have to use the multimedia extension as TL can only handle .swf files.
Last edited by thyon, 2008-10-22 10:30
thyon | iMac 24" 3.06GHz, OSX Leopard, Safari, Camino, Coda
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
2008-10-22 10:27