Results 1 to 10 of 37

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: flash header not working

    ok your not going to like that this took me 3 minutes to find:
    in stylesheet.css
    Code:
    #navBreadCrumb {
    	background-color: #000000;
    	padding: 3px 0;
    	border: 1px solid #ccc;
    	background-image:url(http://www.nonfinite.org/images/barelythere.png);
    }
    Code:
    .centerBoxWrapper {
    	border: 1px solid #9a9a9a;
    	margin: 1.1em 0;
    	height: 1%;
    	background-image:url(http://www.nonfinite.org/images/blackwgrey1.png);
    }
    Code:
    .leftBoxContainer, .rightBoxContainer {
    	border: 1px solid #ccc;
    	margin: 0 0 1em 0;
    	background-image:url(http://www.nonfinite.org/images/barelythere.png);
    
    }
    Code:
    .sideBoxContent {
    	background-color: #000000;
    	padding: 0.4em;
    	background-image:url(http://www.nonfinite.org/images/blackwgrey1.png);
    }
    All of the images you are calling in the stylesheet need to be in your custom template images directory and then the images need to be called by being referenced relatively rather than absolutely......like the following example:
    Code:
    background-image:url(../images/blackwgrey1.png);
    You also have a second stylesheet being called.... stylesheet_bak.css with exactly the same mistakes....I gather that you don't want this stylesheet actually called....change the name to stylesheet.bak
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: flash header not working

    Ok here is the other one......try cleaning up after yourself
    Code:
    <!--bof-branding display-->
    
    <div id="logoWrapper">
        <div id="logo"><a href="http://nonfinite.org/catalog/"><img src="includes/templates/template_default/images/http://www.nonfinite.org/finalbutton.swf" alt="" /></a></div>
    </div>
    <br class="clearBoth" />
    Looks like you left the define info in the includes/languages/english/header.php when you tried to embed the flash originally.......
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: flash header not working

    While I'm beating up on you a bit hopefully to get you to learn from your mistakes please go and resize you product images.....
    Your index page had 2 product images one was 770k and the other was 774k.....why?
    When you only load up 1 large image and don't resize for the medium and small you make my browser download the large image and resize them......well I read my email while waiting for them to load. Even your large images shouldn't be that large....plus when the browser has to do the resizing of such a large image it looks like crap and I can't tell what it is......
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  4. #4
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: flash header not working

    My post #19 addresses the box near the top......the image trying to be called there 1 doesn't exist and 2 even if it did you would never get it to display with the way you were trying to call it.

    my question is why would you be going to the index page in https mode anyway? The cart will switch to https when it needs to and the new products box wouldn't display on any of those pages anyway.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  5. #5
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: flash header not working

    no what I mean is this section of includes/languages/english/header.php
    Code:
    // added defines for header alt and text
      define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
      define('HEADER_SALES_TEXT', 'TagLine Here');
      define('HEADER_LOGO_WIDTH', '192px');
      define('HEADER_LOGO_HEIGHT', '64px');
      define('HEADER_LOGO_IMAGE', 'logo.gif');
    Now this is were I assume you set that define because the code that is a problem is classed as "logo".....


    oh and I checked your stylesheet again and you haven't made the fixes for calling the images relatively......doing it the way you are will throw secure error as your are trying to call images on a secure page (login, checkout,etc...) through the stylesheet by pionting to the unsecure side of the site.....when called relatively they will automatically be called secure
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  6. #6
    Join Date
    May 2008
    Posts
    203
    Plugin Contributions
    0

    Default Re: flash header not working

    Code:
    // added defines for header alt and text
    define('HEADER_ALT_TEXT', '');
    define('HEADER_SALES_TEXT', '');
    define('HEADER_LOGO_WIDTH', 'auto');
    define('HEADER_LOGO_HEIGHT', 'auto');
    define('HEADER_LOGO_IMAGE', 'http://www.nonfinite.org/finalbutton.swf');

    That's what I'm seeing inside includes/languages/english/header.php

  7. #7
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: flash header not working

    What is finalbutton.swf? I know its a flash file but you can't call it there that way.
    If your not using a logo in that position then clear the http://www.nonfinite.org/finalbutton.swf leave the 2 single quotes
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  8. #8
    Join Date
    May 2008
    Posts
    203
    Plugin Contributions
    0

    Default Re: flash header not working

    OK, made all of the above mentioned changes, thank you.

    My two issues are still present, however.

    I've uploaded a screenshot which illustrates the items I'm having problems with. The box above the header only shows up in IE and safari, not firefox.

    http://www.nonfinite.org/issues.jpg

    I can't figure out how to get those jpegs to be classified as secure. In /catalog/admin I can go into products and upload an image, but then what?

    See 2 posts above for more detail on that one.




    All the same, barco57, thank you so much for the input on the other issues, I never would've spotted them.

  9. #9
    Join Date
    May 2008
    Posts
    203
    Plugin Contributions
    0

    Default Re: flash header not working

    Yeah, this is my first web page since 1996. I'm learning CSS as I go here.


    I'll resize those images.


    Regarding the branding display...

    <!--bof-branding display-->
    <div id="logoWrapper">
    <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
    <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
    <div id="taglineWrapper">
    <?php
    if (HEADER_SALES_TEXT != '') {
    ?>
    <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
    <?php
    }
    ?>
    <?php
    if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
    <?php
    }
    }
    ?>
    </div>
    <?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
    </div>
    <br class="clearBoth" />
    <!--eof-branding display-->



    Are you referring to this?

  10. #10
    Join Date
    May 2008
    Posts
    203
    Plugin Contributions
    0

    Default Re: flash header not working

    Images updated.


    Wow, really? I had no idea zen cart did that.

    I guess I can reprogram my flash to link to http://nonfinite.org/catalog then.

 

 

Similar Threads

  1. Flash Header Links not working help....
    By viatell in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Jul 2010, 11:17 PM
  2. Flash not working
    By AmandaGero in forum Basic Configuration
    Replies: 0
    Last Post: 23 Apr 2009, 10:12 PM
  3. Flash header stopped working in IE
    By Graffxman in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 14 Oct 2008, 08:13 AM
  4. Flash header isn't working in IE but works in Firefox
    By webmiss in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Aug 2008, 05:45 AM
  5. Flash header working but... (aleady fixed..)
    By marconebws in forum General Questions
    Replies: 1
    Last Post: 25 Aug 2007, 03:26 AM

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