Zen Cart Logo

Integrating my menu

Locked

Views: 442

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
7 Oct 2010, 2:01 AM
#1
orange_guy avatar

orange_guy

New Zenner

Join Date:
Oct 2010
Posts:
2
Plugin Contributions:
0

Integrating my menu

First off, thanks so much to everyone who has answered so many questions previously. I've googled my way to this point and reading tips and tricks on here all along.

Now I've hit a road block.

There is a menu ( about | submission | faq | contact | shop | main) that appears right under the header on every other page of our site. (www.darkhighlands.com).

I would like that some menu to be in our zen cart shop (www.darkhighlands.com/shop).

Where exactly do insert the include to call the menu? I assumed it was in tpl_header.php, but I'm not having any luck.

I really appreciate any help anyone can provide.

7 Oct 2010, 2:06 AM
#2
ekoo avatar

ekoo

New Zenner

Join Date:
Oct 2010
Posts:
15
Plugin Contributions:
0

Re: Integrating my menu

I had to add some custom links to my header as well, I edited the following code in tpl_header.php:

<!--bof-navigation display-->
<div id="navMainWrapper">
<div id="navMain">
    <ul class="back">



>>> YOUR CODE HERE <<<



    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
<?php if ($_SESSION['customer_id']) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
<?php
      } else {
        if (STORE_STATUS == '0') {
?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
<?php } } ?>

<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
<?php }?>
</ul>
</div>
<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
<br class="clearBoth" />
</div>
<!--eof-navigation display-->

Hope that helps.

7 Oct 2010, 12:48 PM
#3
orange_guy avatar

orange_guy

New Zenner

Join Date:
Oct 2010
Posts:
2
Plugin Contributions:
0

Re: Integrating my menu

ekoo, that did it. Thanks so much for the quick response, very much appreciated.