Forums / Templates, Stylesheets, Page Layout / Changing the box header links in the left column

Changing the box header links in the left column

Locked

Views: 2,239

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
28 Jan 2009, 2:29 PM
#1
memerson avatar

memerson

New Zenner

Join Date:
Jan 2009
Posts:
24
Plugin Contributions:
0

Changing the box header links in the left column

Hi

I'm wanting to change the link text under the headers in the left column, but I want different link text for different sections.

For example, the line:

define('BOX_HEADING_LINKS', '  [more]');

defines the link under the headers, provided there is content in that section. However I want the shopping cart link to read "View cart". So, I created the line:

define('BOX_HEADING_CART_LINK','View Cart');

in the english.php file but I don't know how to implement this, as I cannot find reference to "BOX_HEADING_LINKS" in any file to be able to change it to "BOX_HEADING_CART_LINK" which i created. Can anyone help?

Thanks :smile:

28 Jan 2009, 7:33 PM
#2
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: Changing the box header links in the left column

There's a very handy tool in your admin panel
Admin > Tools > Developers Tool Kit

Enter BOX_HEADING_LINKS in the bottom left box, select All Files - Catalog in the next box and click search - you'll get a list of all files (with line numbers) where that search phrase appears

Neville
An assumption is what you arrive at when you get tired of thinking...

29 Jan 2009, 10:38 AM
#3
memerson avatar

memerson

New Zenner

Join Date:
Jan 2009
Posts:
24
Plugin Contributions:
0

Re: Changing the box header links in the left column

Thank you! I'll give that a try.

5 Mar 2009, 2:42 AM
#4
jellyrock avatar

jellyrock

New Zenner

Join Date:
Feb 2009
Location:
Laguna Niguel, CA
Posts:
2
Plugin Contributions:
0

Re: Changing the box header links in the left column

I had the same wish. I'm building my first ZC based store: http://icky.com/store and found the developers tool kit tip very useful (thanks).

You can make the change from [more] to [view cart] or whatever in the file: store/includes/languages/english.php

Hope this helps...

(I'm diggin' the Zen!)

5 Mar 2009, 3:01 AM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Changing the box header links in the left column

You can always changephp define('BOX_HEADING_LINKS', '  [more]'); to```php
define('BOX_HEADING_LINKS', '');