Forums / Templates, Stylesheets, Page Layout / Add link to navcattabs bar

Add link to navcattabs bar

Views: 1,439

Results 1 to 16 of 16
29 Jun 2011, 2:44 AM
#1
matchlock avatar

matchlock

New Zenner

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

Add link to navcattabs bar

How do I add a link to the navCatTabs bar? Right now they are just categories but I'd like to put a link to another page within the site.

Thanks!

Owner - MatchLock Arms, LLC and M&M Toys (Yes I sell toys and guns, but not toy guns)
http://www.matchlockarms.com
http://www.mandmtoys.com

29 Jun 2011, 2:52 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,851
Plugin Contributions:
18

Re: Add link to navcattabs bar

That depends on many things. Have you customized your site? Custom template? Mods?
Link to the site?

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

29 Jun 2011, 2:57 AM
#3
matchlock avatar

matchlock

New Zenner

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

Re: Add link to navcattabs bar

dbltoe:

That depends on many things. Have you customized your site? Custom template? Mods?
Link to the site?

the short answer is yes i've got quite a few mods on the site as well as customizations to my template.

take a peek and let me know if you can help. Thanks in advance!

www.matchlockarms(dot)com/store

Owner - MatchLock Arms, LLC and M&M Toys (Yes I sell toys and guns, but not toy guns)
http://www.matchlockarms.com
http://www.mandmtoys.com

29 Jun 2011, 3:06 AM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,851
Plugin Contributions:
18

Re: Add link to navcattabs bar

Now that we can see that you have not done any strange mods or bought any :censored: TM templates, we can point you to the tpl_modules_categories_tabs.php file. You'll probably not find it in the custom directory as you may not have moved it over. Look in includes/templates/template_default/templates, open the file on your computer, add the information before line 23 so you don't break the UL sequence, and save the file to includes/templates/mla/templates/tpl_categories_tabs.php.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

29 Jun 2011, 3:14 AM
#5
matchlock avatar

matchlock

New Zenner

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

Re: Add link to navcattabs bar

dbltoe:

Now that we can see that you have not done any strange mods or bought any :censored: TM templates, we can point you to the tpl_modules_categories_tabs.php file. You'll probably not find it in the custom directory as you may not have moved it over. Look in includes/templates/template_default/templates, open the file on your computer, add the information before line 23 so you don't break the UL sequence, and save the file to includes/templates/mla/templates/tpl_categories_tabs.php.

i'm going to try this right now but i noticed that you reference the original file as tpl_modules_categories_tabs.php but state that i should save it as tpl_categories_tabs.php. Any particular reason for the name change?

Owner - MatchLock Arms, LLC and M&M Toys (Yes I sell toys and guns, but not toy guns)
http://www.matchlockarms.com
http://www.mandmtoys.com

29 Jun 2011, 3:17 AM
#6
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,851
Plugin Contributions:
18

Re: Add link to navcattabs bar

old brain, keyboard, and fingers:blush:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

29 Jun 2011, 3:18 AM
#7
matchlock avatar

matchlock

New Zenner

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

Re: Add link to navcattabs bar

dbltoe:

old brain, keyboard, and fingers:blush:

:P I'm going to try this right now.. standby for results :)

Owner - MatchLock Arms, LLC and M&M Toys (Yes I sell toys and guns, but not toy guns)
http://www.matchlockarms.com
http://www.mandmtoys.com

29 Jun 2011, 3:22 AM
#8
matchlock avatar

matchlock

New Zenner

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

Re: Add link to navcattabs bar

OK it works!!!.. only one small problem.. for some reason it's blue?

Owner - MatchLock Arms, LLC and M&M Toys (Yes I sell toys and guns, but not toy guns)
http://www.matchlockarms.com
http://www.mandmtoys.com

29 Jun 2011, 3:29 AM
#9
matchlock avatar

matchlock

New Zenner

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

Re: Add link to navcattabs bar

matchlock:

OK it works!!!.. only one small problem.. for some reason it's blue?

actually it's really odd. i added one for login on the left side and it is blue. i added an additional one on the right side and it is black and not visible until you mouse over and then it turns red like the others??? i'm just not on my A game today. any help would be appreciated. and thank you for getting me this far.

Owner - MatchLock Arms, LLC and M&M Toys (Yes I sell toys and guns, but not toy guns)
http://www.matchlockarms.com
http://www.mandmtoys.com

29 Jun 2011, 3:34 AM
#10
matchlock avatar

matchlock

New Zenner

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

Re: Add link to navcattabs bar

OK disregard... I figured it out.. I added this to the tpl file

<style type="text/css"> a:link { COLOR: #9a9a9a; } a:visited { COLOR: #9a9a9a; } a:hover { COLOR: #FF0000; } a:active { COLOR: #00FF00; } </style>

it looks great.. exactly what i wanted.. thanks again for your help.

Owner - MatchLock Arms, LLC and M&M Toys (Yes I sell toys and guns, but not toy guns)
http://www.matchlockarms.com
http://www.mandmtoys.com

29 Jun 2011, 3:39 AM
#11
matchlock avatar

matchlock

New Zenner

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

Re: Add link to navcattabs bar

sorry to keep posting like a mad man here.. i just realized an adverse affect to the code i added to the tpl. it caused my product list font colors to grey like the links... any way to isolate this to just the navcattabs section?

Owner - MatchLock Arms, LLC and M&M Toys (Yes I sell toys and guns, but not toy guns)
http://www.matchlockarms.com
http://www.mandmtoys.com

29 Jun 2011, 3:56 AM
#12
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,851
Plugin Contributions:
18

Re: Add link to navcattabs bar

I figured you'd see the error of your way by changing EVERY a tag in the entire cart.:smartalec:

Most items are in a wrapper or div. Use something like navCatTabs ul li a VERSUS just plain a.

At least you've learned how to change every link if you want to.:P

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

29 Jun 2011, 4:26 AM
#13
matchlock avatar

matchlock

New Zenner

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

Re: Add link to navcattabs bar

dbltoe:

I figured you'd see the error of your way by changing EVERY a tag in the entire cart.:smartalec:

Most items are in a wrapper or div. Use something like navCatTabs ul li a VERSUS just plain a.

At least you've learned how to change every link if you want to.:P

i must be doing something wrong here.. after i did as you suggested (i think i did it right) everything seems to revert back to before i added it therefore i see login in blue, etc. here's the code i added

<style type="text/css"> navCatTabs ul li a:link { COLOR: #9a9a9a; } navCatTabs ul li a:visited { COLOR: #9a9a9a; } navCatTabs ul li a:hover { COLOR: #FF0000; } navCatTabs ul li a:active { COLOR: #00FF00; } </style>

Owner - MatchLock Arms, LLC and M&M Toys (Yes I sell toys and guns, but not toy guns)
http://www.matchlockarms.com
http://www.mandmtoys.com

29 Jun 2011, 4:36 AM
#14
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,851
Plugin Contributions:
18

Re: Add link to navcattabs bar

First of all take a chill pill, drink a margarita, or something. Whatever it takes to get off that horse you've jumped on and rode madly off in all directions!

  1. The css styles go (amazingly enough) in the stylesheet.css NOT the file.:no:
  2. You cannot just throw a link in an unordered list without surrounding that link with <li></li>:( It certainly won't do what you tell it in the css if it isn't laid out that way.
    Move the css to the stylesheet and surround those orphan a tags with their proper tag.:yes:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

29 Jun 2011, 4:54 AM
#15
matchlock avatar

matchlock

New Zenner

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

Re: Add link to navcattabs bar

dbltoe:

First of all take a chill pill, drink a margarita, or something. Whatever it takes to get off that horse you've jumped on and rode madly off in all directions!
anxious to go to bed :blush:

dbltoe:

  1. The css styles go (amazingly enough) in the stylesheet.css NOT the file.:no:
  1. You cannot just throw a link in an unordered list without surrounding that link with <li></li>:( It certainly won't do what you tell it in the css if it isn't laid out that way.

Move the css to the stylesheet and surround those orphan a tags with their proper tag.:yes:

Makes sense.. i put the <li></li> and it looks the way it should thank you!!! :clap:

Owner - MatchLock Arms, LLC and M&M Toys (Yes I sell toys and guns, but not toy guns)
http://www.matchlockarms.com
http://www.mandmtoys.com

29 Jun 2011, 5:58 AM
#16
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,851
Plugin Contributions:
18

Re: Add link to navcattabs bar

Glad you got it going:clap:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com