Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / home button?? where is it? how do I add one?

home button?? where is it? how do I add one?

Locked

Views: 1,306

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
16 Jul 2008, 9:53 PM
#1
keylesslocks avatar

keylesslocks

Zen Follower

Join Date:
May 2007
Posts:
267
Plugin Contributions:
0

home button?? where is it? how do I add one?

At the top of the page where it says "Log In" it should say "Home" next to it.... where is the home button? how do I add one? shouldn't this be standard? please help, I need to add a "home" Link ASAP!!!!

thanks,

~ E

16 Jul 2008, 10:07 PM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: home button?? where is it? how do I add one?

In a standard install of ZC, this will appear by default.

For it not to appear, core code must have been edited somewhere...

16 Jul 2008, 10:12 PM
#3
keylesslocks avatar

keylesslocks

Zen Follower

Join Date:
May 2007
Posts:
267
Plugin Contributions:
0

Re: home button?? where is it? how do I add one?

fairestcape:

In a standard install of ZC, this will appear by default.

For it not to appear, core code must have been edited somewhere...

ok, here is something strange.... maybe I deleted the text that says 'Home" because if I roll over to the left of the login, there is a space there that is 'invisible' but clickable to take to the home page.... where would I re-enter the words home to make this invisible clickable space say home....

thanks ~ E

midwestapplianceparts.com

16 Jul 2008, 10:19 PM
#4
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: home button?? where is it? how do I add one?

Well as I can see from your site, you've edited the header...

You will have to re-trace your steps to try to undo what you did, and at the same time, try to retain that new link you put in.

You could start by re-instating the ORIGINAL header file, after making a backup copy of the one you edited.

Then, try again on the new copy, to add that header link.

Personally, I don't think you need that header link there. It could be better as an EZ-Pages link, and you can invoke the EZpages Header Menu Bar and put the link there.

You can then create a dedicated page to the link, explaining your pricing policy, instead of directing it to the shipping info page.

16 Jul 2008, 10:24 PM
#5
keylesslocks avatar

keylesslocks

Zen Follower

Join Date:
May 2007
Posts:
267
Plugin Contributions:
0

Re: home button?? where is it? how do I add one?

On the header page it has a line on 46 that says:
<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>

This should pull the HEADER_TITLE_CATALOG from the languages page that says Home

It should show... I really don't know why it isn't showing, I am comparing it to the core code and everything on this line is fine....

16 Jul 2008, 10:26 PM
#6
keylesslocks avatar

keylesslocks

Zen Follower

Join Date:
May 2007
Posts:
267
Plugin Contributions:
0

Re: home button?? where is it? how do I add one?

Quick fix, just replaced:

<?php echo HEADER_TITLE_CATALOG; ?>

with

Home

Works!!!!

16 Jul 2008, 10:32 PM
#7
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town &amp; London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: home button?? where is it? how do I add one?

You must have, at some point, deleted this line:-

define('HEADER_TITLE_CATALOG', 'Home');

from one (or more) of your language files:-

You should replace it in the language file, then put:-

<?php echo HEADER_TITLE_CATALOG; ?>

back in the header.

All you have done is Hard Coded a quick-fix, which is not good practice. You may lose this if/when you upgrade.