Forums / Basic Configuration / How do I change the logo link?

How do I change the logo link?

Locked

Views: 888

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
18 Mar 2010, 4:08 AM
#1
wunderken avatar

wunderken

New Zenner

Join Date:
Mar 2010
Posts:
8
Plugin Contributions:
0

How do I change the logo link?

I'm using Zen Cart 1.3.8a, and I was wondering how to change the link on the Zen Cert header to point to a different page (my home page).

Any help would be appreciated.

18 Mar 2010, 4:41 AM
#2
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: How do I change the logo link?

By default the logo DOES point to your "Home" page. If you are wanting to change that to point somewhere else, then look in "includes>templates>template_default(or you custom template)>common>tpl_header.php around line 71. Also you might want to check out the tutorial for instructions on how to add an internal or external link.

Hope this helps.

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!

18 Mar 2010, 5:09 AM
#3
wunderken avatar

wunderken

New Zenner

Join Date:
Mar 2010
Posts:
8
Plugin Contributions:
0

Re: How do I change the logo link?

Thanks but it didn't work. I am using Zen Cart in addition toJoomla! and am trying to "point" back to my Joomla! main page. I followed your instructions and was faced with this line:

<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>

Apparently I need to find the "defines" and change the HTTP_SERVER.DIR_WS_CATALOG

Any ideas?

18 Mar 2010, 5:43 AM
#4
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: How do I change the logo link?

You need to REPLACE this:

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

with this (using your own link URL, of course):

<li><a  href="http://your_external_link.com">Your Link  Text</a></li>

That should do it.

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!