Read the readme.txt for this mod.
Printable View
I think I have it right now but the drop down menu Looks crooked to me and it is smaller. Is there a way to center it or widen it to match the top link. It looks better in IE than in FF Thank you.
I thought it look better in IE7 but when you mouse over home I get a white space over on the right end. Anyway when you get a chance let me know what I can do to correct this if you would. These is what I did to the tpl_header.php. I don't know if that was right or not. Sorry for posting so much but I thought I would give an update on what I was doing just in case someone else runs into the same problem.Quote:
I think I have it right now but the drop down menu Looks crooked to me and it is smaller. Is there a way to center it or widen it to match the top link. It looks better in IE than in FF Thank you.
My Site
PHP Code:
<?php
/**
* Common Template - tpl_header.php
*
* this file can be copied to /templates/your_template_dir/pagename<br />
* example: to override the privacy page<br />
* make a directory /templates/my_template/privacy<br />
* copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<br />
* to override the global settings and turn off the footer un-comment the following line:<br />
* <br />
* $flag_disable_header = true;<br />
*
* @package templateSystem
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $
*/
?>
<!--bof-header logo and navigation display-->
<?php
if (!isset($flag_disable_header) || !$flag_disable_header) {
?>
<?php echo rss_feed_link_alternate(); // RSS Feed ?>
<!-- divs for drop shadow -->
<div id="nw"><div id="ne"><div id="se"><div id="sw"><div id="n"><div id="s"><div id="w"><div id="e"><div id="main"><table id="workaround"><tr><td>
<div id="headerWrapper">
<!--bof-navigation display-->
<div id="navMainWrapper">
<div id="navMainSearch">
<?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?>
</div>
<div id="navMain">
<ul>
<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?>
<?php if ($_SESSION['customer_id']) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>">
<li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>">
<?php
} else {
if (STORE_STATUS == '0') {
?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>">
<li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>">
<?php } } ?>
<li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>">
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>">
</ul>
</div>
</div>
<!--bof-drop down menu display-->
<?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_drop_menu.php');?>
<!--eof-drop down menu display-->
<div class="clearBoth"></div>
<!--eof-navigation display-->
<!--bof-branding display-->
<div id="logoWrapper" class="clearfix">
<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>
<!--eof-branding display-->
<!--eof-header logo and navigation display-->
<!--bof-optional categories tabs navigation display-->
<?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
<!--eof-optional categories tabs navigation display-->
<!--bof-header ezpage links-->
<?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
<?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
<?php } ?>
<!--eof-header ezpage links-->
</div>
<?php } ?>
Thanks
I wan't to get rid of the 'Categories' link altogether and instead have the Top Level Categories as their own links on the dropdown menu, and not knowing PHP is hindering me a bit. :shocking:
What do I need to do to accomplish this?
I want to add another level to my (non-Dropdown) menu, so if you clicked on ‘products’ the menu below would have links to the product's page’s?
This is the menu I have at the moment;
http://www.jameschetwood.com/menu/menu.jpg
And this is what I’m trying to achieve;
http://www.jameschetwood.com/menu/menuiwant.jpg
I know this isn't a Dropdown menu but ive asked around and a few people thought the best thing would be to modify this add on.
Does anyone know how to do this?
Thanks a lot
James
HOME LOG IN PRODUCTS
SHOES SHIRTS TROUSERS ACCESSORIES
TROUSERS PRODUCT PAGE
First, thank you VERY much for all your work on these mods!
Does the css-flyout_header mod need something modified to work with version 1.3.8?
The reason I ask is because per the per the readme.txt I tried to change the name of the CONTACT US in the header to HELP AND CONTACT INFO.
I changed the name in the headermenu.php file as follows:
but the original name CONTACT US is still showing up in my menu.PHP Code:
define('HEADER_TITLE_CONTACT_US','Help and Contact info');
Here's a link to my site: http://www.zencrystals.com
Any help or suggestions would be appreciated. I have spent the last 3 hours searching the board but can't seem to find anyone else that had trouble with the header.php changes.
Thank you,
Connie
P.S. I have also installed the Apple_Zen template but am still undecided on which template I will use so I installed the CSS_Flyout_Header in my Zencart_Zen template overrides folders where applicable. I am wondering if perhaps there is some common file in both modules that I may need to edit, too.
James i posted the reply to how to modifie the drop down menu to a 2 level menu you want in the other post where you were asking about it,
http://www.zen-cart.com/forum/showth...641#post564641
Hi, I just installed your template ( www.allclaveparts.com ) - it really is nice!
While I am working on trying to get everything updated, it seems like I lost my google checkout during the conversion process.
The google shopping cart no longer appears on the checkout page like it did prior to the conversion. It is listed as payment option, but clicking on it just returns you to the shopping cart.
Any idea what I could of done wrong?
Thx
Wally
Hi and thanks for the drop mod, I want to get rid of the home/login Nav in the top left corner (as they are in the drop menu) can you please tell me how to do this. The site is on localhost so cannot give link to site.