WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Replace WP Header with Custom Flash Header (25 posts)

  1. MontyV
    Member
    Posted 8 years ago #

    I replaced the Header with another image already but then I (a freind :D) turned the image I replaced into a flash file so that I could rotate the image and quotes. Now how do I insert this flash file in place of the header image. Here is my site (still a work in progress)?

    http://rezzlineblog.com

    If you need to see the flash file I'm replacing it with let me know.

  2. dafinga
    Member
    Posted 8 years ago #

    did you use CSS code to implement the flash in the site? I use a simple #header CSS tag to post headers with a directory where the image is located.

    Do you do the same?

  3. user087
    Member
    Posted 8 years ago #

    Has anyone got this to work, then pls contact me.

  4. darkmotion
    Member
    Posted 8 years ago #

    not hard, just include it in the header.php file ;P

  5. Mazalien
    Member
    Posted 8 years ago #

    Here is a sugesstion : For a nice flash-image fader have a look on Marcus Grellert page for his plugin.

  6. Denis de Bernardy
    Member
    Posted 8 years ago #

    alternatively, download:

    http://www.semiologic.com/software/sem-theme/

    and drop a file called header.swf in your theme folder.

    ...

    that's it. you're done.

  7. WayneLVN
    Member
    Posted 8 years ago #

    Denis has done it again! Really nice. :-)

    I have been experimenting with 3.2 on a new blog that I just loaded at http://www.cat-lovers-guide.com and it sure enough loads a flash header nicely. However, this flash header uses a datafile (which I also dumped in the sem theme root along with the swf file) and naturally WP doesn't seem to recognize this necessary file although the swf file should. What it does is replace the "Your Company Name Here" with "Cat Lover's Guide" as well as a slogan replacement.

    Is there any way of adding a call to the datafile (cattxt.txt) in sem-theme-utils.php where info about including the swf file in the header is or am I just SOOL on this one?

  8. WayneLVN
    Member
    Posted 8 years ago #

    Sigh. NM. I swear I can try to figure these things out for 3 hours and get nowhere. Then as soon as I post the question here, the lighbulb comes on. Works great now, just had to embed the flash object ABOVE the call to the_page_header in the header.php file.

    I wish all of life would be this easy to figure out. Doh!

  9. WayneLVN
    Member
    Posted 8 years ago #

    NM the NM. While the header works on the main page, it doesn't work on ANY subsequent page. Even though it work on the base WP install other pages. I guess that WP just doesn't pick up the info provided. So, back to original question. Is there any way of including the datafile in the sem-theme-utils.php file? Back to SOOL I think.

  10. Denis de Bernardy
    Member
    Posted 8 years ago #

    please send me an email (denis at semiologic dot com) with respect to this flash problem, along with an example site. I'm not familiar with flash, and only added the flash thingy recently. it could probably use some debugging/fine tuning.

  11. mateu
    Member
    Posted 8 years ago #

    MontyV, I noticed your page looks like the problem was resolved. Please, what made it all come together. I want to utilize Flash in the same way but can't make it work.
    Thanks,
    M

  12. JOEJOETHEJOEY
    Member
    Posted 8 years ago #

    MontyV, can you share how you managed to get your flash header integrated please? Was it a plug in or did you edit the php file? Cheers!

  13. goliat
    Member
    Posted 8 years ago #

    yes, it would be really cool to know how you managed to do the trick...does a flash plug in exist?

    what i have done so far is to use the flashfader, and replace the original .swf file with myne...it does the trick, i havent played with it so i dont know about how far i will get with it.

    http://www.lynk.de/wordpress/flashfader/

  14. klowe
    Member
    Posted 8 years ago #

    I have tried everything and still cannot get it to work. I just want to replace the header with a simple .swf is there a place where I can find out where exactly to put the code from the flash html file?

  15. klowe
    Member
    Posted 8 years ago #

    I finally figured it out! Once I clean everything up I will release a theme that has a flash header.

  16. MontyV
    Member
    Posted 8 years ago #

    Sorry I haven't replied I do not have a RSS feed on this post and since changing it to resolved I have not looked back. There as no fancy plugin in but rather a combination of techniques.

    Flash Satay Method
    http://www.alistapart.com/articles/flashsatay/

    Which gave me this:

    <object type="application/x-shockwave-flash" data="http://rezzlineblog.com/images/banner_new.swf" width="820px" height="177px">
    <param name="movie" value="http://rezzlineblog.com/images/banner_new.swf"></param>
    </object>

    and a little CSS manipulation and that is what I got.

  17. MontyV
    Member
    Posted 8 years ago #

    also I got rid of this in the header file

    <!-- <h1>"><?php bloginfo('name'); ?></h1> -->
    <!-- <div class="description"><?php bloginfo('description'); ?></div> -->

    it may take some playing around with to get it perfect but it worked.

  18. arhisstudios
    Member
    Posted 8 years ago #

    OK, I am trying to do the same thing with:
    http://www.arhisstudios.com/blog/

    I replaced the lines that loaded the JPG header with te lines in the previous post. I did that in the CSS, and still, does not work. I did not change anythign in the header.php. is there someting else I should try?
    Thanks

  19. arhisstudios
    Member
    Posted 8 years ago #

    Anyway, after a bit more reading, I ended up inserting the code in the php header, see code below:

    http://pastebin.com/636310

    the blog is at:
    http://www.arhisstudios.com/blog/
    and the flash header does not show
    the swf is copied in the same location with the header.php.
    any thoughts?

  20. MontyV
    Member
    Posted 8 years ago #

    arhisstudios

    From all the trials I had the flash file directory itself cannot be added via CSS. You can control the layout around the flash file via CSS though. Yes you will need to add this to the header.php file.

    I did not see the code in the pastebin link you provided.

    - Monty

  21. la100rra
    Member
    Posted 8 years ago #

    Somebody know a tutorial about this?

  22. marissaaroy
    Member
    Posted 8 years ago #

    trying as well to create a flash header for our website, http://www.mediafactory.tv. Does the Kimili Embed Plug-in have anything to do with this stuff?

  23. Jenkin
    Member
    Posted 7 years ago #

    Posting to say I'm trying to do the exact same thing. Found this thread through a google search. I'm not a CSS god, so if anyone's made a tutorial or has found one I'd love to see it.

    Thanks!

  24. vasanth71
    Member
    Posted 7 years ago #

    I'm trying to do the same thing using WordPress, how do I go about doing it ? Which theme do I use etc. Please help. Thanks !

  25. Jo0Lz
    Member
    Posted 7 years ago #

    Hmmm, this does not seem to work for me.
    I copied the code into the header.php, but it does not show the flash correctly...

    http://test.joolz.nl <- see for yourself...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags