Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2006
    Posts
    158
    Plugin Contributions
    0

    Default Adding links to header menu--Logo.gif link

    1. I would like to add some links to the top header menu...not the e-z page but the menu at the very top where it says Home Login...if it is in template/common/tpl_header.php then I must be doing something wrong cause I added:
    &nbsp;|&nbsp<a href="YOUR LINK HERE">Link Text Here</a>
    but it didn't work...

    PLUS...2. where do you change the link that the logo.gif is linked to; I want to change the url..
    Thanks!

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

    Default Re: Adding links to header menu--Logo.gif link

    tpl_header.php is the correct file: here is a sample: adding create account
    Code:
    ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CREATE_ACCOUNT; ?></a></li>
    <?php } } ?>
    You need to also add a defines for the new term and can use the developers tools in your admin to find one that exists and which files it is listed in.

    To change te logo reference > in a copy to your template of the html_header.php find this entry and change the href
    Code:
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" />
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Apr 2006
    Location
    Göteborg
    Posts
    126
    Plugin Contributions
    0

    Default Re: Adding links to header menu--Logo.gif link

    I know there are many requets, but this would be a nice standard option for an EZ-page link.

  4. #4
    Join Date
    Jan 2006
    Posts
    158
    Plugin Contributions
    0

    Default Re: Adding links to header menu--Logo.gif link

    In the first part, I don't understand this:
    You need to also add a defines for the new term and can use the developers tools in your admin to find one that exists and which files it is listed in.

    In the 2nd part, I have changed to a url 5 different ways and none of them do anything but mess up the cart....
    <base href="http://mysite.com" />
    <base href="<?http://mysite.com ?>" />

    what am I doing wrong?

  5. #5
    Join Date
    Dec 2006
    Posts
    198
    Plugin Contributions
    0

    Default Re: Adding links to header menu--Logo.gif link

    Yes, I would like to know the answer to this also. I am trying to make the URL go to the embedded links within the logo.gif file. How do I do that?

  6. #6
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Adding links to header menu--Logo.gif link

    ... make your lives simple, use an <a href>
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

 

 

Similar Threads

  1. Logo.gif link change
    By zuzer in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Sep 2011, 12:46 AM
  2. Home Link image (logo.gif)
    By ThomasT in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jul 2010, 09:02 PM
  3. adding 2nd .gif to main logo header
    By RobertG in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Apr 2010, 07:09 PM
  4. Adding additional menu links to header.
    By raydeez in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 29 Apr 2009, 11:29 PM

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