Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Jun 2007
    Posts
    17
    Plugin Contributions
    0

    red flag flip navbar & header main bars

    I've been going crazy trying to figure this out with my limmited knowlege of PHP, and any help would be most appreciated.

    Is there a way to put the nav bar under the the header main bar as illustrated in this pic?


  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: flip navbar & header main bars

    You just go the the common/tpl_header.php file for your template and swap around the blocks of code that produce them.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jun 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: flip navbar & header main bars

    Thanks for the quick reply. but I must admit my n00bness is still getting the best of me.

    I found the commons directory under Includes and put the block that starts with
    Code:
    <!--bof-header logo and navigation display-->
    and ends with
    Code:
    <!--eof-navigation display-->
    under the one that starts with
    Code:
    <!--bof-branding display-->
    and ends with
    Code:
    <!--eof-branding display-->
    and nothing changed

    Am I editing the right tpl_header.php or did I just cut and paste the wrong part?

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: flip navbar & header main bars

    You have cut and pasted exactly the right code, so if it's not taking effect you must have done it in a file that is not the one being called by your template, or not loaded the changes back to the right place. Unfortunately this is difficult to diagnose without a link to your site or more information about how you have structured your template.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Jun 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: flip navbar & header main bars

    The link to the page is Here
    Unfortunately, I'm pretty confused with what exactly my structure is at the time. Since I have not started this from scratch, or understand PHP very much, I really have no idea what logic is being used to structure everything.

    For example, there are at least 3 includes (one under admin, one in the root directory and one inside the Includes in the root directory) and i have no idea which one it's referencing to. I am very well versed in both HTML and CSS, but I'm getting the feeling I'm a complete lunk-head when it comes to PHP.

    Once again, thanks for the help.
    Last edited by jon_tadeu; 20 Jul 2007 at 08:02 PM.

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: flip navbar & header main bars

    There should only be two include folders, one in root for your Catalog and one in the admin folder that serves your Admin.

    It is rather sounding as though your structure is corrupted and causing your problems. Unfortunately there's a limit to what we can do to help you on this as these files are all server side and thus invisible to us.

    But let's try anyway. What's in your includes/includes folder?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #7
    Join Date
    Jun 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: flip navbar & header main bars

    Basically just english.php and an english directory as well. inside that directory I have header.php and meta_tags.php and another directory called Classic. Inside Classic there is a header.php.

  8. #8
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: flip navbar & header main bars

    Do you have file compare software, such as the Open Source WinMerge that you can use to compare the files in include/include with those in include?

    Alternatively, you could just throw them away, as they aren't having any effect anyway.

    Back to your original problem. What is the full path name from the store's root of the file in which you switched around the branding and navigation blocks?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  9. #9
    Join Date
    Jun 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: flip navbar & header main bars

    It was on the root/include/common/tpl_header.php.

    The /include under /admin does not seem to have a common folder.

  10. #10
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: flip navbar & header main bars

    Not should the includes folder. This file should be in your root/includes/templates/mbb/common folder. Your structure is sounding pretty messed up. I'd recommend comparing it with the structure in a Zen Cart release package.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. moving header logo & nav bars around..
    By jvn01 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 18 Nov 2010, 04:09 PM
  2. How to remove space between header & main text?
    By Arkwright in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 12 Mar 2010, 07:31 PM
  3. NavBar + 2 Search Bars?
    By TurtleDove in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Jun 2007, 11:51 PM
  4. flip header with ez header and......
    By g0d4lm1ty in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Nov 2006, 02:46 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