Forums / Customization from the Admin / Add link to top navbar that says Home Log In

Add link to top navbar that says Home Log In

Views: 1,655

Results 1 to 4 of 4
23 Jun 2011, 4:38 PM
#1
maryx avatar

maryx

New Zenner

Join Date:
Jun 2011
Posts:
22
Plugin Contributions:
0

Add link to top navbar that says Home Log In

I want to add a link to this navbar that directs viewers back to the home page of my site (ZC is a subdirectory of my site).

What file do I edit to do this?
THanks! :bigups:

23 Jun 2011, 4:42 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Add link to top navbar that says Home Log In

You need to remove the default behaviour from tpl_header.php, and then hard-code your own URL ...

The edited file is then stored in your custom override folder

But it would be far better (for SEO and for your customers) if you moved the content of your old site, into your ZC site, and made ZC the MAIN (and only) site.

20 years a Zencart User

23 Jun 2011, 4:48 PM
#3
maryx avatar

maryx

New Zenner

Join Date:
Jun 2011
Posts:
22
Plugin Contributions:
0

Re: Add link to top navbar that says Home Log In

schoolboy:

You need to remove the default behaviour from tpl_header.php, and then hard-code your own URL ...

The edited file is then stored in your custom override folder

But it would be far better (for SEO and for your customers) if you moved the content of your old site, into your ZC site, and made ZC the MAIN (and only) site.

Can you give me the path to tpl_header? :blush:

I am not concerned about SEO for ZC, the only thing I sell is advertising that appears on my site, and it is sold to members. But thanks for the tip!

23 Jun 2011, 4:52 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Add link to top navbar that says Home Log In

The DEFAULT file is in:

includes/templates/template_default/common/

FTP the file to YOUR HARD DRIVE

Edit it

FTP it back to

includes/templates/YOUR_TEMPLATE/common/

(ie: Do NOT make changes to files in the CORE folders. Use the over-ride system)

20 years a Zencart User