By gigfish on
Does anyone know what code is required to install flash file .swf in the header image section of the four seasons theme using drupal 6?
any assistance would be muchly appreciated..
Kindest,
gigfish
Does anyone know what code is required to install flash file .swf in the header image section of the four seasons theme using drupal 6?
any assistance would be muchly appreciated..
Kindest,
gigfish
Comments
I suppose you want to
I suppose you want to substitute the header image by a flash animation.
Is the .swf made ?
I suppose you just have to edit the theme's page.tpl.php, look for the header part and substitute whatever code you see there by the code that shows your Flash swf file.
thanks for the suppose?
yes the swf is made i have various swf files i could use.
Do you know the actual code that could be used? my swf is currently at sites/defaults/files/flash on my ftp server
gigfish
Sorry, i repeated the
Sorry, i repeated the supposed word..
Anyway, are you asking how to display flash animations on a webpage ?
Isnt that more like HTML 101 instead of Drupal theming ?
Here's what i use (still not sure if this is what you're looking for):
thanks for the input
I will try the above code you have tabled but before i do how do i set where in the page the flash will play..
i want it to play on every page in the header image (see four seasons theme)
gigfish
doesn't work for me
none of the info on adding flash on this or other pages has worked for me
I want to add it to the header, not as a node
could z-index have something to do with it??
I'm using drupal 6
you have to edit the
you have to edit the page.tpl.php of your theme
I did edit page.tpl.php and
I did edit page.tpl.php and it didn't work, still a mystery...
I pasted in the flash code and I see a box where it should be but not fash. I then tried putting the swf file in every directory I could think of, but somehow mysteriously, it won't play.
I did edit page.tpl.php and
I did edit page.tpl.php and it didn't work, still a mystery...
I pasted in the flash code and I see a box where it should be but not flash. I then tried putting the swf file in every directory I could think of, but somehow mysteriously, it won't play.
I dont use flash so this is
I dont use flash so this is only a guess, but have you tried putting the file (and then updating the path in the template.tpl.php file, obviously) in your theme folder? (Rather than sites>all>files or wherever it's living now.)
Oh! And if you're going to
Oh! And if you're going to do a bunch of custom mods to your theme, I'd recommend making a new customized theme of your own so that when Four Seasons is updated, it won't write over your changes. It's as easy as copy/pasting the fourseasons folder into the same location (sites>all>themes), changing the folder name to "your-theme" and editing the .info file with your-theme name. Don't forget to change the project name in your .info file also or it will still register as Four Seasons and Drupal will get angry if you don't update it to the newest version.
I started out with Four Seasons and what I have now has almost no relation to it at all so I had to cut the cord. :)
flash header file not playing
Hi,
I am creating my own theme for drupal 6. Wanted to incoporate a flash header file into the theme. I have embeded my swf file into the header, when I start the site,, I can see that there is flash file in the header -- a typical flash play button on it. However, when I try to play the file, it does not play.
Initially I thought maybe it is the problem with incorrect path to swf file, I tried using the absolute path, relative path and the complete domain path
and none of them would allow me to play. I have the same swf in xhtml and it plays, so there is some thing going on in the drupal envirioment that I am missing here. Any pointer is highly appreciated.
sorted
I got this sorted by using swfobject.js