Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2006
    Posts
    44
    Plugin Contributions
    0

    Default Editing the Header and footer to have more links

    I want to add contact us and site map to the header and footer of the page can any body help?

    Cheeers

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Editing the Header and footer to have more links

    Add the following to both your includes -> templates -> YOUR_CUSTOM_FOLDER -> common -> tpl_header.php and tpl_footer.php


    PHP Code:
      <?php if (DEFINE_CONTACT_US_STATUS <= 1) { ?>
        <li>&nbsp;<?php echo '<a href="' zen_href_link(FILENAME_CONTACT_US'''SSL') . '">' BOX_INFORMATION_CONTACT '</a>'?></li>
      <?php ?>

      <?php if (DEFINE_SITE_MAP_STATUS <= 1) { ?>
        <li>&nbsp;<?php echo '<a href="' zen_href_link(FILENAME_SITE_MAP) . '">' BOX_INFORMATION_SITE_MAP '</a>'?></li>
        <?php ?>
    In tpl_footer.php find the following:

    Code:
    <!--bof-navigation display -->
    <div id="navSuppWrapper">
    <div id="navSupp">
    <ul>
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?>Main Page</a></li>
    ADD THE ABOVE LINKS HERE
    and add the links.

    In tpl_header.php find the following:
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
    <ul class="back">
    <li><?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CATALOG; ?></a></li>
    ADD THE ABOVE LINKS HERE
    and add the links.

 

 

Similar Threads

  1. How to change header and footer links?
    By undersun in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Nov 2009, 08:52 PM
  2. Customizing header and footer seperator bar links
    By visionsfromvoid in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 31 Aug 2009, 07:28 AM
  3. broken links in EZPages Header and Footer
    By jafma in forum General Questions
    Replies: 1
    Last Post: 20 Apr 2008, 05:26 PM
  4. Editing the More Information Links...
    By LovelyMiss in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Sep 2007, 07:09 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR