Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / I would like to add link to an EZ page in top menu

I would like to add link to an EZ page in top menu

Started by ald0413 on 28 Feb 2011, 8:18 PM · Views: 728

Results 1 to 2 of 2
28 Feb 2011, 8:18 PM
#1
ald0413 avatar

ald0413

New Zenner

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

Post #1 by ald0413

I"m trying to add an EZ page link to the top menu of this site:
shop.judithstilesdesigns dot com

The same menu that has log in, check out etc. I've tried all the different settings in the EZ pages and it's not working. Please advise.

Thank you!

28 Feb 2011, 9:04 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

Grab a copy for your template of /includes/templates/template_default/common/tpl_header.php

Open in a plain text code editor and find this and add your ezpage link similar to what I have entered in red

<div id="navMain">
    <ul class="back">
    <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 }?>
<li><a href="/index.php?main_page=page&id=4">my_text</a></li>
</ul>
</div>

Upload to includes/templates/freetemplate1/common/

Create if it does not exist

Zen-Venom Get Bitten