Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   SWF - Flash Logo (http://forum.bytesforall.com/showthread.php?t=495)

Longtail Feb 22, 2009 09:34 AM

SWF - Flash Logo
 
Is there a way to embedded a flash file instead of a JPeg as a logo?

Flynn Feb 22, 2009 11:28 AM

Do you want to replace the rotating header image(s) or the logo on the left side of the blog title?

To replace the header images, turn off the default rotating header image at Theme Options -> Header and put the code for the flash into header.php around line 886 right after
PHP Code:

<?php bfa_header_config($bfa_ata_configure_header); ?>



The logo on the left side of the blog title is defined in bfa_header_config.php, around line 53

PHP Code:

        $logo_area .= '<td ' $header_rowspan 'valign="middle" class="logoarea-logo"><a href="' get_option('home') . '/"><img class="logo" src="'


and around line 79-81

PHP Code:

                $logo_area .= get_bloginfo('template_directory') . '/images/' $bfa_ata_logo '" alt="' get_bloginfo('name'); 
                } 
    
$logo_area .= '" /></a></td>'





Longtail Feb 23, 2009 08:10 AM

Flynn --
Thank you very much for the help. The code is beyond my expertise, but I have a developer pal that I hope will make sense of it.

I'd actually like to have both the logo and the 'image' rows contain flash and I believe your response addressed both.

THANKS again -- GREAT! Theme! ...

monardo Feb 26, 2009 10:04 AM

Quote:

Originally Posted by Flynn (Post 1926)
To replace the header images, turn off the default rotating header image at Theme Options -> Header and put the code for the flash into header.php around line 886 right after
PHP Code:

<?php bfa_header_config($bfa_ata_configure_header); ?>


Hy Flynn... I've been trying to do as you said with no results! I am not a programmer, but I understand just a little bit of code. At this point I have some questions:

1- How do I "turn off the default rotating header image at Theme Options -> Header" If i delete the %image at Configure Header Area I just don't see the area.
2- I've put the code for the flash right after the line you mention... but nothing happens. Here is the code as I put it:

Code:

<?php bfa_header_config($bfa_ata_configure_header); ?>
       
        <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','900','height','200','src','images/header/Definizione','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','images/header/Definizione' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="900" height="200">
  <param name="movie" value="images/header/Definizione.swf" />
  <param name="quality" value="high" />
  <embed src="images/header/Definizione.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="900" height="200"></embed>
</object></noscript>
        </td>

What am I doing wrong?

Thanks a lot for your time and pacience!

Ps: the link to the blog is http://leadershit.net/

monardo Feb 26, 2009 10:34 AM

Ok... sorry... problem found and solved... I forgot to load AC_RunActiveContent.js

Longtail Feb 28, 2009 12:37 PM

Hi Flynn,
Got the logo working in the header, too ... no need to respond....

Thanks again!


All times are GMT -6. The time now is 08:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.