Zen Cart Logo
Forums / General Questions / How to change links

How to change links

Locked

Views: 1,017

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
25 Oct 2006, 10:38 PM
#1
renatooliveira avatar

renatooliveira

New Zenner

Join Date:
Oct 2006
Posts:
21
Plugin Contributions:
0

How to change links

Hi every one, and thanks in advance for helping.

Is the a way for me to change the the " home " link in the header of the " index " page of zen cart to point to a html home page that i created for my site?
I tryied just about every thing but cant do it , it seems that home id difine by catalog, but i can finde the hfer to point to my front page out side zen.

please help if understand what i'm trying to do , thank you.:lamo:

Please sand me instant message or email if you can, despered need to fix that and get my site going thank you

27 Oct 2006, 2:51 PM
#2
lib99 avatar

lib99

Totally Zenned

Join Date:
Dec 2004
Location:
New York, USA
Posts:
965
Plugin Contributions:
0

Re: How to change links

If you're just getting started, I strongly recommend reading the Tutorial/FAQ's. They're easy reading of very important concepts for managing your Zen Cart store. :smile:

Look in:
includes/templates/YOUR_TEMPLATE_DIR/common/tpl_header.php

where you see:```

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

Change it to:```
<a href="http://www.YOURDOMAIN.com/">Home</a>

You may want to leave that original code shown above and rename the link in the language file:
includes/languages/english/YOUR_TEMPLATE_DIR/header.php

change```
define('HEADER_TITLE_CATALOG', 'Home');

to```
define('HEADER_TITLE_CATALOG', 'Store');

note: Text could be anything... 'Store', 'Store Home', etc...

That would leave a link to the main ZC store index page and then you ADD the additional static html link you create to your html 'Home' page (non-Zen-Cart page).

29 Oct 2006, 1:41 AM
#3
renatooliveira avatar

renatooliveira

New Zenner

Join Date:
Oct 2006
Posts:
21
Plugin Contributions:
0

Re: How to change links

thank you but it did not work, i don't know if o did right dough ,do i have to changre the holle line or just the href?