If this is your first visit, check our documentation. To post, register or login.

Change "Categories" to "Products"

Started by rossbee on 15 Jun 2016, 2:54 PM · Views: 598

Results 1 to 6 of 6
15 Jun 2016, 2:54 PM
#1
rossbee avatar

rossbee

New Zenner

Join Date:
Jun 2016
Location:
Cornwall
Posts:
3
Plugin Contributions:
0

Post #1 by rossbee

Hi,

I'd like to change the title of a drop down menu from "Categories" to "Products", I can't find it anywhere, it's not a sidebox which is what I tried originally. Every time it thought I had the answer it does something different, wasted hours on this and then gave up.:(

My website is http://www.beehivesupplies.co.uk/

Any help would be appreciated

Many thanks

Ross

15 Jun 2016, 3:25 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #2 by lat9

That constant:

// categories box text in sideboxes/categories.php
  define('BOX_HEADING_CATEGORIES', '[B]Categories[/B]');

is defined in /includes/languages/apple_zen/english.php.

If that file/folder doesn't exist, create the folder /includes/languages/apple_zen and copy the file /includes/languages/english.php to that folder before making your template-override changes.

15 Jun 2016, 6:39 PM
#3
rossbee avatar

rossbee

New Zenner

Join Date:
Jun 2016
Location:
Cornwall
Posts:
3
Plugin Contributions:
0

Post #3 by rossbee

Thanks for the quick reply, unfortunately those headings are not sideboxes, that was the first thing I tried having read the many forum threads on it.

My code in: /includes/languages/apple_zen/english.php.

is already:
// categories box text in sideboxes/categories.php
define('BOX_HEADING_CATEGORIES', 'Products');

I haven't been able to find out what those headings are actually called, hence it is difficult to find the solution.

Cheers
Ross

15 Jun 2016, 7:00 PM
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #4 by lat9

Use your admin's Developers Tool Kit and search for **dropMenu **(using a mixed-case search, if provided in that oldy-moldy ZC1.5.1 version).

That will identify the file(s) that are creating that *dropMenu *div and will subsequently point you to the language definition.

15 Jun 2016, 9:15 PM
#5
rossbee avatar

rossbee

New Zenner

Join Date:
Jun 2016
Location:
Cornwall
Posts:
3
Plugin Contributions:
0

Post #5 by rossbee

Thank you for the replies, I have finally found it :smile:, I had not used the developers tool kit before.

After searching for dropMenu, I downloaded the tpl_drop_menu which I had looked at before, but found HEADER_TITLE_CATEGORIES within the text when I searched for this I found it in /includes/languages/english/extra_definitions/apple_zen/headermenu.php

Changing: define('HEADER_TITLE_CATEGORIES','Categories'); to define('HEADER_TITLE_CATEGORIES','Products'); finally solved it for me.

:smile::smile::smile::smile::smile:

Many thanks
Ross

15 Jun 2016, 10:24 PM
#6
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #6 by lat9

Woo-hoo! As you've discovered, the DTK is your friend. I'm glad you got your issue sorted.