Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2007
    Posts
    16
    Plugin Contributions
    0

    Default How do I add links to my site header?

    1 More question....

    How i want to add additional Information or Link here.
    Like FORUM , TERMS ETC....


  2. #2
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: How do I add links to my site header?

    in your template > common > tpl_header.php find this code for your header links

    line 58 and 59

    <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>

    add your additional links

    <li><a href="file your forum link goes to">name of link</a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CONTACT_US) ?>Contact Us</a></li>

    after the last </li>

  3. #3
    Join Date
    Nov 2007
    Location
    Buffalo, NY
    Posts
    16
    Plugin Contributions
    0

    Default Re: How do I add links to my site header?

    This works for someone is logged, how about on the main page? header.php?
    Bellirosa Needful Things
    http://www.bellirosa.com/store/

  4. #4
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: How do I add links to my site header?

    Then you will need to move those links up and after the last </li> line 47.

    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>

    <li><a href="file your forum link goes to">name of link</a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CONTACT_US) ?>Contact Us</a></li>

  5. #5
    Join Date
    Nov 2007
    Posts
    16
    Plugin Contributions
    0

    Default Re: How do I add links to my site header?

    Quote Originally Posted by usernamenone View Post
    Then you will need to move those links up and after the last </li> line 47.

    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>

    <li><a href="file your forum link goes to">name of link</a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CONTACT_US) ?>Contact Us</a></li>

    You mean for header.php or tpl_header.php ?

  6. #6
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: How do I add links to my site header?

    Quote Originally Posted by hairul View Post
    You mean for header.php or tpl_header.php ?
    as per post above i.e.
    find this code for your header links in your template > common > tpl_header.php find this code for your header links

  7. #7
    Join Date
    Nov 2007
    Posts
    16
    Plugin Contributions
    0

    Default Re: How do I add links to my site header?

    hahahahahhaha.... Thanks A lot..
    ITS REALLY WORKS!!!!!! THANKS & THANKS

    BTW, How to change fonts? Can Make a box for that? [HOME] [FORUM] [LOGIN]

    and change fonts for Banner Box like Categoris... New Products.

    Come Have a look my website

    e-buying.com.my & comment or suggestion before im launching my website

  8. #8
    Join Date
    Nov 2007
    Posts
    16
    Plugin Contributions
    0

    Default Re: How do I add links to my site header?

    hahahahahhaha.... Thanks A lot..
    ITS REALLY WORKS!!!!!! THANKS & THANKS

    Another Question
    1)BTW, How to change fonts? Can Make a box for that? [HOME] [FORUM] [LOGIN]

    2) change fonts for Banner Box like Categoris... New Products.

    3) Path Column (refer Pic)
    To Change Colour To Blue / Black or if can with background. Grey colour seems
    not very clear.


  9. #9
    Join Date
    Sep 2007
    Posts
    35
    Plugin Contributions
    0

    Default Re: How do I add links to my site header?

    Thanks, usernamenone!

    That works like charm.


    Quote Originally Posted by usernamenone View Post
    Then you will need to move those links up and after the last </li> line 47.

    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>

    <li><a href="file your forum link goes to">name of link</a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CONTACT_US) ?>Contact Us</a></li>

 

 

Similar Threads

  1. How to add links on the header?
    By lina0962 in forum General Questions
    Replies: 1
    Last Post: 28 Jun 2010, 01:15 AM
  2. How to add links to header bar without ez-pages
    By lextechs in forum Templates, Stylesheets, Page Layout
    Replies: 25
    Last Post: 28 Oct 2007, 11:09 PM

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