Page 20 of 24 FirstFirst ... 101819202122 ... LastLast
Results 191 to 200 of 235
  1. #191
    Join Date
    Nov 2007
    Location
    Ukraine
    Posts
    34
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    sorry, maybe I explained myself not so clear I will try again:

    1. I intalled: nnez_flo_20061013
    Then, I've tried this code (I put into tpl_header.php of
    template_default) :
    <?php echo get_flashed('bg_header_right','900','260'); ?>

    And it works perfectly in Classic Contemporary Green
    template.

    But when i am swiching into my custom template it shows
    header pic as it was before(nothing changed, flash didn't
    work).


    2. I noticed some differences in the structure of my CSS files and tpl_header.php(custom template tpl, not default one):

    (a) There is a only one stylesheet.css file in Classic
    Contemporary Green template. But in my template there are
    6 not one *.css files:

    print_stylesheet.css
    stylesheet.css
    stylesheet_boxes.css
    stylesheet_css_buttons.css
    stylesheet_main.css
    stylesheet_tm.css


    AND one of them (stylesheet_tm.css) contains line regarding
    to my site header(bg_header_right.jpg).

    Here, the part of my stylesheet_tm.css, relating to the
    header:
    ...
    #header .bg_header_right{
    background:
    url(../images/bg_header_right.jpg
    ) right 0 no-repeat; width:100%;
    height:313px;}
    ...

    (b) About tpl_header.php:
    this is a part from my template tpl_header.php file:
    <div id="header">
    <div class="bg_header_left">
    <div class="bg_header_right"> <?php echo
    get_flashed('bg_header_right','900','260'); ?>

    <div class="row">
    <div class="links">
    ....
    </div>

    MY QUESTION:
    WHERE SHOULD I PUT THIS CODE:

    <?php echo get_flashed('bg_header_right','900','260'); ?>

    AND SHOULD I CHANGE ANYTHING THAN TPL_HEADER.PHP FILE???

    THANK YOU VERY MUCH FOR YOUR HELP. I still hope for some reply!!!

  2. #192
    Join Date
    Feb 2009
    Location
    Ontario, Canada
    Posts
    38
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    Quote Originally Posted by seethrou View Post
    With refer to the other topic at Reviewer's Corner Shop has gone live: please review

    Our fellow member JohneeMac suggested the following for the Flash.
    SWFObject: Javascript Flash Player detection and embed script

    I had tested, it works, with more functions and with XHTML validation.

    And below are the steps of the test which use the JavaScript download from the above site.

    1. save the header Flash file to the following directory (just for example)
    includes/templates/YOUR_TEMPLATE/images/flash/YOUR_HEADER.swf

    2. download the zip packaged file from the above site

    3. unzip and save the included swfobject.js file (not compressed and about 6.5 KB) to your ZC template directory
    includes/templates/YOUR_TEMPLTE/jscript/swfobject.js

    4. If in before, the tpl_header.php had not been modified,
    then copy the following file:
    includes/templates/template_default/common/tpl_header.php

    and save it to your template override directory:
    include/templates/YOUR_TEMPALTE/common/tpl_header.php

    5. Open up the new saved tpl_header.php file in your override directory
    include/templates/YOUR_TEMPALTE/common/tpl_header.php

    Add and modify the codes according to your requirements.
    For detail usuages, please refer to the docs and the original site for more infos.

    For example,
    in the tpl_header.php, just insert the codes for Flash below the section of:
    <!--bof-branding display-->
    <div id="logoWrapper">

    PHP Code:
    <!--bof-branding display-->
    <
    div id="logoWrapper">

    <
    script type="text/javascript" src="includes/templates/YOUR_TEMPLATE/jscript/swfobject.js"></script>
    <div id="flashcontent">
      This text is replaced by the Flash movie.
    </div>
    <script type="text/javascript">
       var so = new SWFObject("includes/templates/YOUR_TEMPLATE/images/flash/YOUR_HEADER.swf", "YOUR_HEADER", "750", "160", "7", "#000000");
       so.write("flashcontent");
    </script> 
    Note:
    In the above codes, where:
    YOUR_TEMPLATE = the name of your template.
    YOUR_HEADER = the file name of your Flash file.

    .
    THANK YOU SOOOOO MUCH! You don't how much time I've spent on this. Thanks again for posting step-by-step instructions. Worked like a charm for me. (Tested it on FF, EI, and Opera)
    [FONT="Times New Roman"]Stephan Mantha CEO
    The Mogensen Moccasin Company Ltd
    [/FONT]

  3. #193
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    I used the javascript below to add a flash banner to my cart.
    it does the job and I was happy with it.

    However, it killed image handler 2 mod. Now if I rollover any images the magnifying medium size image no longer shows anywhere.

    I then commented out the javascript calling flash and still the image handler mod not working.

    I then renamed javascript file (removing the . so can't work) and image handler still not working.

    It looks to have broken image handler 2 in my store.

    What would be the reason for this? I'd like to use a flash banner but want to keep the image handler 2 module working.

    If there is a better way that I can get a flash banner working other than this method please refer.

    Thanks for any input.


    Quote Originally Posted by seethrou View Post
    With refer to the other topic at Reviewer's Corner Shop has gone live: please review

    Our fellow member JohneeMac suggested the following for the Flash.
    SWFObject: Javascript Flash Player detection and embed script

    I had tested, it works, with more functions and with XHTML validation.

    And below are the steps of the test which use the JavaScript download from the above site.

    1. save the header Flash file to the following directory (just for example)
    includes/templates/YOUR_TEMPLATE/images/flash/YOUR_HEADER.swf

    2. download the zip packaged file from the above site

    3. unzip and save the included swfobject.js file (not compressed and about 6.5 KB) to your ZC template directory
    includes/templates/YOUR_TEMPLTE/jscript/swfobject.js

    4. If in before, the tpl_header.php had not been modified,
    then copy the following file:
    includes/templates/template_default/common/tpl_header.php

    and save it to your template override directory:
    include/templates/YOUR_TEMPALTE/common/tpl_header.php

    5. Open up the new saved tpl_header.php file in your override directory
    include/templates/YOUR_TEMPALTE/common/tpl_header.php

    Add and modify the codes according to your requirements.
    For detail usages, please refer to the docs and the original site for more infos.

    For example,
    in the tpl_header.php, just insert the codes for Flash below the section of:
    <!--bof-branding display-->
    <div id="logoWrapper">

    PHP Code:
    <!--bof-branding display-->
    <
    div id="logoWrapper">

    <
    script type="text/javascript" src="includes/templates/YOUR_TEMPLATE/jscript/swfobject.js"></script>
    <div id="flashcontent">
      This text is replaced by the Flash movie.
    </div>
    <script type="text/javascript">
       var so = new SWFObject("includes/templates/YOUR_TEMPLATE/images/flash/YOUR_HEADER.swf", "YOUR_HEADER", "750", "160", "7", "#000000");
       so.write("flashcontent");
    </script> 
    Note:
    In the above codes, where:
    YOUR_TEMPLATE = the name of your template.
    YOUR_HEADER = the file name of your Flash file.

    .
    That wasn't the plan!

  4. #194
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    Hello,

    I resolved this issue above in regards to getting Image Handler to work again.

    Renaming the javascript minus the . was still effecting the loading so once deleted image handler then worked.

    I would still like to be referred to any other flash banner options if anyone has any input.

    Thanks
    That wasn't the plan!

  5. #195
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Problem with Flash Header

    I guess this is off topic, but avoid using flash as much as you can. There are many tasks that can be solved without using flash. Slideshow, for example, can use javascript instead.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  6. #196
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Problem with Flash Header

    Quote Originally Posted by Muzz View Post
    I would still like to be referred to any other flash banner options if anyone has any input.
    Muzz

    The SwfObject referred to in the sample is a older version which did not play will with other code. For the latest version and how to's code.google.com/p/swfobject/wiki/documentation
    Dave
    Always forward thinking... Lost my mind!

  7. #197
    Join Date
    Oct 2007
    Location
    Kentucky - USA
    Posts
    428
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    Quote Originally Posted by Muzz View Post
    I would still like to be referred to any other flash banner options if anyone has any input.

    Thanks
    Look at post 121 in this thread it might help.

    Sawhorse

  8. #198
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    Thanks for your replies:

    yellow1912, Davewest & Sawhorse.

    I will check out each of your suggestions.

    Muz
    That wasn't the plan!

  9. #199
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    Just thought I would add that I did use the later version of SWFobject and I have my flash banner working without any probs.

    After reading through a lot of flash instructions etc.. Mogensen Moccasin Co has been by far the most helpful by far.

    Other posts will miss key points.. give instruction but not say which file to edit.. are outdated by several years so you don't know whether or not it will work in newer browser versions and so on.
    That wasn't the plan!

  10. #200
    Join Date
    Jun 2009
    Posts
    2
    Plugin Contributions
    0

    Default Adding Flash to main page

    Can anyone please help with a flash problem.

    I'm trying to add a flash slideshow to my "define_main_page.php"
    area of my zen cart site. I'm not sure how, what or where I'm supposed to place code. Can someone please direct me in the right direction. Right now I have an embedded youtube video.

    The site is www.childlocatorsystems.com

    Thanks in advance.

 

 
Page 20 of 24 FirstFirst ... 101819202122 ... LastLast

Similar Threads

  1. v150 Problem with flash header size
    By GodfatherAntiques in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 21 Mar 2012, 10:12 AM
  2. Problem with flash on main page (not header)
    By sartor in forum General Questions
    Replies: 7
    Last Post: 14 Jan 2009, 10:59 AM
  3. Once again problem with Flash header
    By craigpowell in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Sep 2008, 01:42 AM
  4. Problem with Flash Header pt2
    By hondauser85 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 6 Jun 2007, 04:03 PM
  5. help with flash header
    By wizzard in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Jun 2007, 05:58 PM

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