Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Sep 2006
    Location
    Derby UK
    Posts
    99
    Plugin Contributions
    0

    Default Alternative Header -

    Hi All.

    I have installed the Alternative Header V1.1 but am having problems with the display. If you take a look here you will see what I mean.

    To the right of the temporary logo are the Home and Log in links [currently on a black background]. I would like these to display under the logo just above the grey band that currently says "trial cat".

    I have tried various things within the code, as I thought there may be a <div> tag in the wrong place, but to no avail.

    Can anyone tell me how I can correct this please?

    Appologies for the strange colours btw, this is a "work in progress".


    Many thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Alternative Header -

    Quick look and it appears that you have the logo div outside of the headerWrapper div display as this is your source:
    Code:
    <!--bof-branding display-->
    <div id="logoWrapper">
        <div id="logo"><a href="http://www.appliancesfirst.co.uk/"><img src="includes/templates/af1/images/logo.gif" alt="Powered by Zen Cart :: The Art of E-Commerce :: Made UK ready by www.mutualadvantage.co.uk" title=" Powered by Zen Cart :: The Art of E-Commerce :: Made UK ready by www.mutualadvantage.co.uk " width="210" height="86" /></a></div>
        <div id="taglineWrapper">
          <div id="tagline">TagLine Here</div>
    
        </div>
    </div>
    <!--eof-branding display-->
    
    
    <!--bof-header logo and navigation display-->
    
    <div id="headerWrapper">
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
        <ul class="back">
        <li><a href="http://www.appliancesfirst.co.uk/">Home</a></li>
    
        <li><a href="http://www.appliancesfirst.co.uk/index.php?main_page=login&amp;zenid=7366bbe80a22ad2fc37467fe27dc01f8">Log In</a></li>
    
    </ul>
    </div>
    <div class="navMainSearch forward"></div>
    <br class="clearBoth" />
    </div>
    <!--eof-navigation display-->
    
    <!--eof-header logo and navigation display-->
    it should look more like:
    Code:
    <!--bof-header logo and navigation display-->
    <?php
    if (!isset($flag_disable_header) || !$flag_disable_header) {
    ?>
    
    <div id="headerWrapper">
    
    <!--bof-branding display-->
    <div id="logoWrapper">
        <div id="logo"><a href="http://www.appliancesfirst.co.uk/"><img src="includes/templates/af1/images/logo.gif" alt="Powered by Zen Cart :: The Art of E-Commerce :: Made UK ready by www.mutualadvantage.co.uk" title=" Powered by Zen Cart :: The Art of E-Commerce :: Made UK ready by www.mutualadvantage.co.uk " width="210" height="86" /></a></div>
        <div id="taglineWrapper">
          <div id="tagline">TagLine Here</div>
    
        </div>
    </div>
    <!--eof-branding display-->
    
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
        <ul class="back">
        <li><a href="http://www.appliancesfirst.co.uk/">Home</a></li>
    
        <li><a href="http://www.appliancesfirst.co.uk/index.php?main_page=login&amp;zenid=7366bbe80a22ad2fc37467fe27dc01f8">Log In</a></li>
    
    </ul>
    </div>
    <div class="navMainSearch forward"></div>
    <br class="clearBoth" />
    </div>
    <!--eof-navigation display-->
    
    <!--eof-header logo and navigation display-->
    I believe that I got it all pasted...but if not this needs to be contained in the <div id="headerWrapper"> and part of yours is outside of it.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2006
    Location
    Derby UK
    Posts
    99
    Plugin Contributions
    0

    Default Re: Alternative Header -

    Thanks for the reply Kobra.

    I've been playing with this for several hours and still can't get it to display correctly.

    The file tpl_header.php downloaded with the Alternative Header V1.1 has not been modified by me, just uploaded, so I'm guessing that everyone else who is using this mod will be having [or have solved] this same problem?

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Alternative Header -

    I've just posted an update to the alternative header contribution which corrects this issue for anyone that may download it in the future.

  5. #5
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Alternative Header -

    add this to your stylesheet.css and see if it helps.

    #logoWrapper {height:86px;}

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Alternative Header -

    Hey Clyde,

    I never downloaded this as it was easier to edit myself....was this flawed? I take it that it was as you have added an update to avoid this issue...
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Alternative Header -

    Kobra,

    Yeah, the headerWrapper div was out of place I just moved it up where it should be.

    Now I know why I've seen so many requests about the header being out of wack.
    I guess a few people had downloaded this and then ran into the problem. I hadn't realized it was a contribution until I read this post and alternative header was mentioned.

    I decided to take a look and sure enough....

  8. #8
    Join Date
    Sep 2006
    Location
    Derby UK
    Posts
    99
    Plugin Contributions
    0

    Default Re: Alternative Header -

    Excellent! Many thanks Kobra and Clydejones.

    This was the first place I came when I woke up this morning - can't tell you how relieved I am!

    Now i can move on to the next "problem"

  9. #9
    Join Date
    Jan 2007
    Location
    The Netherlands
    Posts
    29
    Plugin Contributions
    0

    Default Re: Alternative Header -

    Hi Clydejones,

    It looks like there is a little problem with AH 1.1 and ZC 3.7.1

    Below the warnings (after new install)
    Warning: I am able to write to the configuration file: ..... Contact your webhost for assistance.

    There is:
    // ?>

    I took already a short look at your code but good't see what's wrong. Maybe its good idea to take latest tpl_header.php uncomment original code and put in your changed (commented by AH 1.1)?

    Thanks for your little nice mod for Zen Cart!!

  10. #10
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Alternative Header -

    Quote Originally Posted by importprijs.nl View Post
    Hi Clydejones,

    It looks like there is a little problem with AH 1.1 and ZC 3.7.1

    Below the warnings (after new install)
    Warning: I am able to write to the configuration file: ..... Contact your webhost for assistance.

    There is:
    // ?>

    I took already a short look at your code but good't see what's wrong. Maybe its good idea to take latest tpl_header.php uncomment original code and put in your changed (commented by AH 1.1)?

    Thanks for your little nice mod for Zen Cart!!
    That warning has nothing to do with AH.

    You need to change the permission settings for
    includes/configure.php to 644

    You can do this either through your FTP program or directly through your Server admin panel.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Alternative Header 1.1a module problem
    By dml311071 in forum Addon Templates
    Replies: 17
    Last Post: 11 Apr 2010, 05:03 PM
  2. Search Header with Alternative Header v2-0
    By hcd888 in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 25 May 2009, 02:47 PM
  3. Alternative Header 1.1a no search
    By kburner in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 1 Feb 2009, 11:02 PM
  4. Alternative Header 1.1a moving links
    By smoke133 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 24 Oct 2008, 10:09 PM
  5. Alternative Header Help
    By ebookbounty in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 May 2007, 09:52 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