By valedaw2 on
Is it possible to add a flash banner in the Earthen theme. I created a jpg banner which works fine. How can I include a flash .swf file?
Is it possible to add a flash banner in the Earthen theme. I created a jpg banner which works fine. How can I include a flash .swf file?
Comments
Hi there - You can find
Hi there - You can find information on including flash in your page template here:
http://drupal.org/node/379128
Just make edit the code to the proper path and settings you need.
Hey thanx such a nice
Hey thanx such a nice theme...
-----------------
Sean Cruz
caravans
Flash banner
Thanks so much for the flash banner fix.
Now, is it possible to only have the picture on the first page. (the picture that is part of the theme)
If you just want something in
If you just want something in your page.tpl.php to only show on the front page, add a php if statement around it to check to make sure you are on the front page, like:
flash banner
Hi,
First, let me say thanx. You have been so helpful. I am noticing that the flash banner is not showing on all pages.
Also, when I set the code to only show the other picture on the front page, I expected the content to move up. Instead the right side bar expanded across the page.
Hi valedaw2 - Which pages is
Hi valedaw2 -
Which pages is the flash banner not showing on? What is different about them? Do you have more than one page.tpl.php file (like page-node.tpl.php, for instance?) Do you see it in the code, or is it not printing at all?
As for the front page picture, you may have predefined CSS that is dictating the height of that area. I can't say for sure since I can't see it. But I'm guessing that's an issue with CSS.
Amanda
Banner not showing
Hi,
The site is godsbattleaxeintl.com.
The banner is not showing on pages with the path beginning with godsbattleaxeintl.com/content*.
Also, is it possible to make the food picture a gallery?
Make sure your path to the
Make sure your path to the swf is accessible from internal pages. It looks like you need to add a backslash in front of it so it is pointing to the right place. Change:
to this:
You can certainly make your image into a gallery. There are several ways to do it -- you could do it manually with some javascript and a list of images, or use Views and something like Views Slideshow to rotate out the images. I'd look around and see what is available for it.
Amanda