Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / adding "contact us" link to categories menu bar

adding "contact us" link to categories menu bar

Locked

Views: 2,285

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
7 Sep 2008, 9:34 AM
#1
derek_bryant avatar

derek_bryant

Zen Follower

Join Date:
Jul 2008
Location:
Bristol UK
Posts:
162
Plugin Contributions:
0

adding "contact us" link to categories menu bar

Hi

please can anyone advise on how to add a "contact us" link at the end of the categories links e.g.
category 1, category 2, ..... "contact us"

I have tried making a "contact us" category but there is no hyperlink facility without adding a product

thanks

Derek

7 Sep 2008, 3:40 PM
#2
stargre avatar

stargre

New Zenner

Join Date:
Jul 2006
Posts:
89
Plugin Contributions:
0

Re: adding "contact us" link to categories menu bar

I want to know the same as well. Anyone please help. Thanks!

7 Sep 2008, 4:54 PM
#3
ronpeled avatar

ronpeled

Zen Follower

Join Date:
Sep 2004
Location:
LA, California
Posts:
111
Plugin Contributions:
0

Re: adding "contact us" link to categories menu bar

There are many ways, however the safest method I can think of at the moment may be to overwrite the template file for the categories sidebox in your template. The file that needs to be overridden is /includes/templates/<your template>/sideboxes/tpl_categories.php.

Notice that there is some logic that needs to be carried over from the default template. So it is best if you first copy the file from the /template_default/ folder.

You probably want to add your <a> tag around line 60. This will show the new link right after the list of categories. Make sure it is outside of the loops.

7 Sep 2008, 5:36 PM
#5
derek_bryant avatar

derek_bryant

Zen Follower

Join Date:
Jul 2008
Location:
Bristol UK
Posts:
162
Plugin Contributions:
0

Re: adding "contact us" link to categories menu bar

thanks Ron

I am looking to put the "contact us" link in the horizontal banner categories list

does this still apply?

Derek