Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Templates, Stylesheets, Page Layout / change manufatures sidebox title to shop by manufactures?

change manufatures sidebox title to shop by manufactures?

Locked

Started by makoshark on 18 Mar 2010, 5:57 PM · Views: 1,047

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
18 Mar 2010, 5:57 PM
#1
makoshark avatar

makoshark

Zen Follower

Join Date:
Jun 2007
Location:
Laurinburg, NC
Posts:
165
Plugin Contributions:
0

change manufatures sidebox title to shop by manufactures?

Hello I am using the latest zen cart, and my website is shop.nilandsplace.com/camp/

I want to change the title of the manufactures side-box to "shop by manufactures" I also will want to change the categories likewise. I have looked around but I do not know were this constant is programed?

18 Mar 2010, 6:53 PM
#2
twaddle avatar

twaddle

Banned

Join Date:
Jul 2009
Location:
Prague, Czech Republic
Posts:
478
Plugin Contributions:
0

Re: change manufatures sidebox title to shop by manufactures?

Use the developers toolkit located under Tools...

enter your search term in the bottom left box (in this case the title of your sidebox), then from the next drop down box select catalog (or catalog/admin depending what you are searching for) and click search

I've done this for manufacturers in the past and as I remember it brings up a whole load of results, you just have to go through them one by one, in hindsight I guess I could have then used a secondary search within Firefox to find the DEFINES manufacturers I wanted...

19 Mar 2010, 6:57 PM
#3
makoshark avatar

makoshark

Zen Follower

Join Date:
Jun 2007
Location:
Laurinburg, NC
Posts:
165
Plugin Contributions:
0

Re: change manufatures sidebox title to shop by manufactures?

I have used developer's tool box but still have no idea were the manufactures side box gets its title.

19 Mar 2010, 7:03 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

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

Re: change manufatures sidebox title to shop by manufactures?

Dev toolkit is used to find STRINGS of text or code in the program's php files.

So, you need to search for: Manufacturers

This is the LABEL given to a define statement in one of the language files . My guess it's in english.php

You do NOT change the Code... just the label

So:

  define('BOX_HEADING_MANUFACTURERS', 'Manufacturers');

Becomes:

  define('BOX_HEADING_MANUFACTURERS', 'Shop By Manufacturer');

and the edited file should be saved into your overrides folder (custom folder)

20 years a Zencart User

20 Mar 2010, 5:51 AM
#5
makoshark avatar

makoshark

Zen Follower

Join Date:
Jun 2007
Location:
Laurinburg, NC
Posts:
165
Plugin Contributions:
0

Re: change manufatures sidebox title to shop by manufactures?

Thanks for the constant. I found it in> /www/shop.nilandsplace.com/camp/includes/languages/NilandCamp/english.php were NilandCamp is my own previous modifications. I searched by BOX_HEADING_MANUFACTURERS and found it. I am not sure why I had a hard time finding it when I searched by Manufactures.
Thanks

22 Mar 2010, 5:22 PM
#6
vintage avatar

vintage

New Zenner

Join Date:
Jun 2009
Posts:
16
Plugin Contributions:
0

Re: change manufatures sidebox title to shop by manufactures?

Glad to see where this is....but have another question on the subject. How do you change the image? I want to create my own imaged for "category"... "mfg" and so on.

Can someone lead me in the right way?

Thanks so much!

23 Mar 2010, 9:08 AM
#7
schoolboy avatar

schoolboy

Totally Zenned

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

Re: change manufatures sidebox title to shop by manufactures?

Vintage:

Glad to see where this is....but have another question on the subject. How do you change the image? I want to create my own imaged for "category"... "mfg" and so on.

Can someone lead me in the right way?

Thanks so much!

Do you mean the headings on the sideboxes?

Instead of having a TEXT header label, you want an image there?

Like I have done HERE

Using Firefox Firebug, go to that site and look at the BOTTOM of the stylesheet.css . That will show you how I did it.

20 years a Zencart User