Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2010
    Posts
    109
    Plugin Contributions
    0

    Default adding pages to header menu

    I followd the tutoriale below to add pages to header menu but ain't working. How to do?

    I put

    HTML Code:
    <li><a href=”YOUR LINK HERE”>YOUR LINK TEXT HERE</a ></li>


    http://www.geraelindsey.com/zencart-...nks-in-zencart

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: adding pages to header menu

    post the file and path to it that you added that to
    And post more of the file code before and after where you added it
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2010
    Posts
    109
    Plugin Contributions
    0

    Default Re: adding pages to header menu

    here I have attached the tpl_heade.php

    I want to add after "Home" and "Log in"

    My Account

    Shopping Cart

    Checkout


    P.S. After downloading the file just change the extension from "doc" to "php"

    THANKS!!
    Attached Files Attached Files
    Last edited by alexdog1805; 6 Mar 2011 at 12:18 AM.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: adding pages to header menu

    alexdog1805,

    Post the code here - - a few lines before your added code, your added code, and a few lines after

    Or from the bof to the eof for the section
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Sep 2010
    Posts
    109
    Plugin Contributions
    0

    Default Re: adding pages to header menu

    but I attached the entire file. just download it and after that change the extension from .doc to .php

  6. #6
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: adding pages to header menu

    Try changing this code in your tpl_header.php file

    Locate the <!--bof-navigation display-->
    and
    <!--eof-navigation display-->

    Change only the code between those parts

    Code:
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
        <ul class="back">
    	<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><span><?php echo HEADER_TITLE_CATALOG; ?></span></a></li>
    	<?php if ($_SESSION['customer_id']) { ?>
    	<li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><span><?php echo HEADER_TITLE_LOGOFF; ?></span></a></li>
    	<li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><span><?php echo HEADER_TITLE_MY_ACCOUNT; ?></span></a></li>
                <?php
          } else {
            if (STORE_STATUS == '0') {
    ?>
           <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><span><?php echo HEADER_TITLE_LOGIN; ?></span></a></li>
           <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><span><?php echo HEADER_TITLE_MY_ACCOUNT; ?></span></a></li>
                <?php } } ?>
           <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><span><?php echo HEADER_TITLE_CART_CONTENTS; ?></span></a></li>
           <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><span class="last"><?php echo HEADER_TITLE_CHECKOUT; ?></span></a></li>
    </ul>
    </div>
    <div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
    <br class="clearBoth" />
    </div>
    <!--eof-navigation display-->

 

 

Similar Threads

  1. v151 EZ Pages dont show in header menu
    By David Rogers in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 9 Jan 2014, 01:16 AM
  2. Adding new element to header menu
    By GabyWalker in forum Basic Configuration
    Replies: 5
    Last Post: 5 Dec 2013, 09:52 PM
  3. Adding additional menu links to header.
    By raydeez in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 29 Apr 2009, 11:29 PM
  4. Adding links to header menu--Logo.gif link
    By Dizzie in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 17 Dec 2006, 01:32 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