Joomla! Newyork

A blogger inspired and birthed from the Joomla! community

Another Joomla! Flash embedded code:The Header!

Fresh from the Joomla! forum entitled, Using Flash Banner with Joomla. Need Help ASAP by wasexton

Even though the title says, Flash banner with Joomla! but as the code suggests it is more on “Using SWF in your Joomla! Header” kind of thing. Please review the code below:


if ( $_REQUEST[‘option’] == “com_frontpage” )
<object type=”application/x-shockwave-flash”
data=”<?php echo $mosConfig_live_site;?>/templates/your_template/images/Banner.swf”
width=”778″ height=”145″>
<param name=”movie”
value=”<?php echo $mosConfig_live_site;?>/templates/your_template/images/Banner.swf” />
<img src=”<?php echo $mosConfig_live_site;?>/templates/your_template/images/Banner.jpg”
width=”778″ height=”145″ alt=”Banner Name” />
<img src=”<?php echo $mosConfig_live_site;?>/templates/your_template/images/Banner.jpg” width=”778″>

Note: The code stated above is embedded in the index.php located inside the name_of_template directory.


Some say, “the code didn’t help” and some say, “it works!”


A moving thing in my website header is not a bad idea. But not an option at this moment, maybe someday.


Filed under: J!Forum Monitor, Joomla!, , , ,

4 Responses

  1. tony says:

    Ok wow, there is not a single place on the web that talks us through the process of putting a FLASH banner on Joomla! The code is cool. WHERE DO WE PASTE THIS CODE???
    How do we get there????

  2. ultimoAdios says:

    Hi tony,

    Thanks! But here is my counter offer so we could tell you where do we paste the code?
    Suggested solution:
    1. Open a WordPress account. Help is here but in return please join WordPress community.
    2. Upload your Blavatar.
    3. Make sure your name has a link to your blog site.
    4. Explain in your first entry what you are trying to do. Then…
    5. Copy and paste the index.php located inside the name_of_template directory.

    Additional requirement:
    Blog the following in your wordpress:
    What version of Joomla you are using?
    How do you plan using your Joomla!
    What is your Joomla! experience so far?
    What template are you using?
    Go and join Joomla! forums and announce it in your blog. Give us the link of your WordPress. Until then I could tell you where to paste this code. Well, it is up to you to take the challenge. Good luck!

  3. chmiel says:

    Very nice, thank you.

  4. Chris says:

    Great script.thank you

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: