Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Adding links to header menu--Logo.gif link

Adding links to header menu--Logo.gif link

Locked

Views: 3,018

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
19 Nov 2006, 9:04 PM
#1
dizzie avatar

dizzie

Zen Follower

Join Date:
Jan 2006
Posts:
152
Plugin Contributions:
0

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

19 Nov 2006, 9:29 PM
#2
kobra avatar

kobra

Black Belt

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

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

tpl_header.php is the correct file: here is a sample: adding create account

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

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" />
19 Nov 2006, 9:36 PM
#3
wils avatar

wils

Zen Follower

Join Date:
Apr 2006
Location:
Göteborg
Posts:
124
Plugin Contributions:
0

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.

19 Nov 2006, 11:28 PM
#4
dizzie avatar

dizzie

Zen Follower

Join Date:
Jan 2006
Posts:
152
Plugin Contributions:
0

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?

17 Dec 2006, 12:13 AM
#5
friends1976 avatar

friends1976

Zen Follower

Join Date:
Dec 2006
Posts:
198
Plugin Contributions:
0

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?

17 Dec 2006, 12:32 AM
#6
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,591
Plugin Contributions:
0

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

... make your lives simple, use an <a href>