Page 1 of 1

Adding Flash embeded images to .tpl

Posted: Fri Aug 31, 2007 4:18 am
by mrdatabase
I have been trying to add a flash image to my overall_header.tpl, but its not working. I have insert the flash image into the PHP and embeded codes, but it doesnt work. The flash image itself works when i display it on a html page, and it works in the .tpl page when i view it offline, but when I view it on my website http://www.mrdatabase.net, it doesnt work. I have enabled the HTML code in the adminstrator control panel, but i just believe thats for adding Flash to forms. Once again, im trying to add a flash image to the main website itself, but it doesnt work.

Therefore:

PHP codes dont work
Embeded codes dont work

What do i have to do to get a .swf image to display on the .tpl files? What code do i have to use in order to get this to work?

Thanks,
Jelani, MCSE, CCNA

Re: Adding Flash embeded images to .tpl

Posted: Tue Oct 09, 2007 2:03 am
by contractor
I've tried the same thing, adding flash files to the index page to no avail. I'm not sure they are supported.

Re: Adding Flash embeded images to .tpl

Posted: Tue Oct 09, 2007 2:19 am
by dellsystem
The code should be something like

Code: Select all

<object width="300" height="200">
<param name="movie" value="movies/moviename.swf">
<embed src="movies/moviename.swf" width="300" height="200">
</embed>
</object>
Changing the parameteres as needed of course.

What code are you using?

Re: Adding Flash embeded images to .tpl

Posted: Tue Dec 11, 2007 2:34 pm
by davibugi
Hi i have tried that but it does not work

Do u have a working solution

Thanks

Re: Adding Flash embeded images to .tpl

Posted: Tue Dec 11, 2007 3:00 pm
by Brf
That code should work, assuming you have the correct URL for your flash file.

Re: Adding Flash embeded images to .tpl

Posted: Tue Dec 11, 2007 4:00 pm
by Lumpy Burgertushie
if you have added anything to any php file, then remove it and start over.

this is simple html, whatever works in your html page will work in the tpl page ( except for php includes )

there is no need to edit anything other than the tpl file you want it to appear in.

robert

Re: Adding Flash embeded images to .tpl

Posted: Tue Dec 11, 2007 8:33 pm
by Jim_UK
I have enabled the HTML code in the adminstrator control panel,
There is no need to have done that. That facility is to allow html in posts and you should not do that. Set that back to NO as it has no effect on the .tpl files that are html.

Jim

Re: Adding Flash embeded images to .tpl

Posted: Sat Dec 22, 2007 1:53 pm
by newtonviet
Good idea!

Re: Adding Flash embeded images to .tpl

Posted: Sun Dec 23, 2007 9:22 am
by rhythm
Plus if you use the flash publish option, it will be really easy. It will give you an index file where all the code you will ever need will be included. Just copy the code and goto the tpl file and paste it there. :D