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?
![]()
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?
![]()
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)
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 withand ends withCode:<!--bof-header logo and navigation display-->under the one that starts withCode:<!--eof-navigation display-->and ends withCode:<!--bof-branding display-->and nothing changedCode:<!--eof-branding display-->
Am I editing the right tpl_header.php or did I just cut and paste the wrong part?
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)
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.
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)
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.
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)
It was on the root/include/common/tpl_header.php.
The /include under /admin does not seem to have a common folder.
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)