Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Change header to flash header

    I KNOW this has been discussed on the forum in the past, and I've checked through most of the posts that I could find, but they don't seem to address the issues that I Have.

    Firstly, My flash header is not just an animation, it's an actionscript based navigation bar. Therefore i have folders with images, com files, and xml file etc.. you get the picture.

    Secondly, I need to know what files do i need to alter, to add code to, where do i place the files and folders (images, com etc etc) needed for the flash file to work.

    I've done this before with my last site, but fortunatly the flash object was just embedded into the main body of the home page... which was easy, but this seems to be a bit more of a task.

    Please help.... ANYONE!!!!!!!!

    Andy
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

  2. #2
    Join Date
    May 2009
    Location
    USA - UT
    Posts
    1
    Plugin Contributions
    0

    Default Re: Change header to flash header

    Quote Originally Posted by bettsaj View Post
    ... My flash header is not just an animation, it's an actionscript based navigation bar...
    Same question here, we need customers that click to this store front from our main site, to see the same 'look and feel'

  3. #3
    Join Date
    Nov 2007
    Location
    Atlanta, GA
    Posts
    125
    Plugin Contributions
    0

    red flag Re: Change header to flash header

    Agreed - trying to add Flash (uploaded from external source) into the area where the image of the three women is. This is not tpl_header.php as originally thought.

    The Flash Code I wish to insert is:
    <div style="visibility:visible;width:540px;margin:auto"><embed src="http://flash.picturetrail.com/pflicks/3/spflick.swf" quality="high" FlashVars="ql=2&src1=http://pic60.picturetrail.com/VOL1768/8455204/flicks/1/7043777" wmode="transparent" bgcolor="#000000" width="540" height="410" name="sequence" align="middle" allowScriptAccess="sameDomain" style="height:410px;width:540px" type="application/x-shockwave-flash"></embed><p style="whitespace:no-wrap;margin-top:10px;height:24px;width:540px"><a href="http://www.picturetrail.com/misc/counter.fcgi?link=%2FphotoFlick%2Fsamples%2Fpflicks.shtml&cID=924"><img align="left" src="http://pics.picturetrail.com/res/pflicks/pt.gif" border="0"></a><a href="http://www.picturetrail.com/misc/counter.fcgi?link=%2FphotoFlick%2Fsamples%2Fpflicks.shtml&cID=925"><img align="left" style="margin-left:5px" src="http://pics.picturetrail.com/static/images/pt2.gif" border="0"></a></p></div>
    Last edited by uruharacosplay; 1 May 2009 at 02:13 AM. Reason: Coding Not Parsed
    http://www.akihabaracosplay.com
    Imported Cosplay, Fashion, and Souveniers straight from Japan!

  4. #4
    Join Date
    Nov 2007
    Location
    Atlanta, GA
    Posts
    125
    Plugin Contributions
    0

    Idea or Suggestion Re: Change header to flash header

    Not sure if this helps anyone, but I actually had to contact the tech support of the people that I purchased my template from and had to get a web designer to play with this coding.

    It involves a little bit of code replacement:

    in your tpl_header.php file, you will need to find the following bit of code:


    <div class="headerBg1-right">

    <div class="headerBg1-left">

    <div class="headerBg1-bottom">

    <div class="headerBg1-bottom-right">

    <div class="headerBg1-bottom-left">



    <div class="logo">

    <div class="spacer"><a href="<?php echo zen_href_link(FILENAME_DEFAULT);?>"><?php echo zen_image(DIR_WS_TEMPLATE.'images/logo.jpg'); ?></a></div>

    </div>



    <div class="links">

    <?php #HEADER LINKS START ?>



    <a href="<?php echo HTTP_SERVER . DIR_WS_CATALOG ?>"><?php echo HEADER_TITLE_CATALOG; ?></a>



    <?php if ($_SESSION['customer_id']) { ?>

    &nbsp; | &nbsp; <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a>

    &nbsp; | &nbsp; <a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>

    <?php

    } else {

    if (STORE_STATUS == '0') {

    ?>

    &nbsp; | &nbsp; <a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a>

    <?php } } ?>



    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>

    &nbsp; | &nbsp; <a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>

    &nbsp; | &nbsp; <a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a>

    <?php } ?>



    <?php #HEADER LINKS END ?>

    </div>



    <div class="clear"></div>

    </div>

    </div>

    </div>

    </div>

    </div>
    Compare to the amended code:
    <left>

    <embed src="http://flash.picturetrail.com/pflicks/3/spflick.swf" quality="high" FlashVars="ql=2&src1=http://pic60.picturetrail.com/VOL1768/8455204/flicks/1/7043777" wmode="transparent" bgcolor="#000000" width="700" height="400" name="sequence" align="left" allowScriptAccess="sameDomain" style="height:360px;width:575px" type="application/x-shockwave-flash"></embed>
    My flash code had to be pasted in place of my "banner1" code. Depending upon what template you are using, this can require a lot of trial and error.

    The file path is:
    root/YOUR CUSTOM STORE NAME FOLDER/includes/templates/YOUR CUSTOM TEMPLATE/common/tpl_header.php

    Hope that helps.

    ~Indi
    http://www.akihabaracosplay.com
    Imported Cosplay, Fashion, and Souveniers straight from Japan!

  5. #5
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: Change header to flash header

    i tried contacting the template developers..... They just pointed me back to here :-(
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

  6. #6
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: Change header to flash header

    Quote Originally Posted by uruharacosplay View Post
    Not sure if this helps anyone, but I actually had to contact the tech support of the people that I purchased my template from and had to get a web designer to play with this coding.

    It involves a little bit of code replacement:

    in your tpl_header.php file, you will need to find the following bit of code:




    Compare to the amended code:


    My flash code had to be pasted in place of my "banner1" code. Depending upon what template you are using, this can require a lot of trial and error.

    The file path is:
    root/YOUR CUSTOM STORE NAME FOLDER/includes/templates/YOUR CUSTOM TEMPLATE/common/tpl_header.php

    Hope that helps.

    ~Indi
    I've checked my tpl_header.php file and there isn't anything in it that is even close to zen_image(DIR_WS_TEMPLATE.'images/logo.jpg')

    I did a search of the file in notepad++ and it found nothing.
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

  7. #7
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: Change header to flash header

    Still trying to find out how to embed my flash file into the header.... Anyone??
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

 

 

Similar Threads

  1. Flash Header
    By DieuxSoldat_04 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 10 Jan 2009, 05:35 PM
  2. Flash Header/ Font Header make changes to...
    By SolarTrees in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 12 Jul 2007, 07:59 AM
  3. Change Flash Header When Category Changes
    By Lawbird123 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Mar 2007, 08:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR