• beaulife

    (@beaulife)


    Thank you for sharing such a good theme, I truly enjoy using it.

    I just wonder if a flash header is possible in Constructor Theme? I have few customers’ web projects that requires flash header.

    Hope to hear from you soon.

Viewing 5 replies - 1 through 5 (of 5 total)
  • antonshevchuk

    (@antonshevchuk)

    You can insert flash header to header.php file

    Thread Starter beaulife

    (@beaulife)

    Hi Anton Shevchuk,

    Thanks for your reply.

    Just to find out from your good self if I need additional codes to have flash header. Regret that I am not good at coding.

    Thank you!

    Hi Anton – Constructor is a great theme!
    Could you give an example of the code I should use for this,
    Many thanks
    Angela

    Thread Starter beaulife

    (@beaulife)

    Ok, I have tested it right.

    Please login yourwebsite.com/wp-admin, then go straight to Appearance, Editor and select Header.PHP from Templates at the right sidebar. Then look for the codes below:

    <?php get_constructor_menu() ?>
                <div id="title">
    				<?php if (is_home() || is_front_page()) { ?>
    					<h1 id="name"><a>/" title="<?php bloginfo('name'); echo " ? "; bloginfo('description');?>"><?php bloginfo('name'); ?></a></h1>
    				<?php } else { ?>
    					<div id="name"><a>/" title="<?php bloginfo('name'); echo " ? "; bloginfo('description');?>"><?php bloginfo('name'); ?></a></div>
    				<?php } ?>
                    <div id="description"><?php bloginfo('description');?></div>
                </div>

    Replace the above codes with the following:

    <object width="1000" height="410" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"><param value="LOCATION_OF_YOUR_FLASH_FILE.swf" name="data"><param value="high" name="quality"><param value="https://LOCATION_OF_YOUR_FLASH_FILE.swf" name="src"> <embed width="1000" height="410" data="https://LOCATION_OF_YOUR_FLASH_FILE.swf" quality="high" src="LOCATION_OF_YOUR_FLASH_FILE.swf" type="application/x-shockwave-flash"> </object>

    Please make sure that you take note the points below:

    1. change the width and height according to your flash design
    2. change to the right location of your flash file, avoid saving the flash file at public_html folder, and observe the right path and filename (the path name, file name and extension type are case sensitive), highly recommended inside /wp-content/uploads/
    3. keep the whole code intact, because these codes are able to work on most browsers (I tested on MS Internet Explorer, Mozilla FireFox and Google Chrome); there are some examples of shorter codes by searching from Google, my experience told me that shorter codes are working on Chrome but not IE and FireFox which gave me some headache to debug
    4. you are encourage to clear your browser’s cache in order the new codes to work properly
    5. you need to modify your .htaccess file inside the folder where your flash file resides, otherwise it may not work (I observe strictly the right .htaccess to prevent hacker’s attack, which I had nightmares for many nights with my client’s websites)

    After that, please delete the last row of code <?php get_constructor_slideshow() ?> from Header.php. Lastly, click on Update File button below the editor frame, then your codes with flash header should be working properly.

    Hope this helps.

    Many thanks for your help, I do appreciate it.
    Angela

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Flash Header Possible?’ is closed to new replies.