Zen Cart Logo
Forums / General Questions / Change link names?

Change link names?

Locked

Views: 4,773

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
19 Jul 2008, 1:39 AM
#1
znowflake avatar

znowflake

New Zenner

Join Date:
Jul 2008
Posts:
98
Plugin Contributions:
0

Change link names?

Hello
I have looked through the faq and posts in here, but i dont seem to be able to find an answer to my question.

I would like to change the names of the links "privacy" and "conditions".

How do i do that?

ps. I´m sorry if i posted in the wrong forum. Wasnt sure where to add this.

19 Jul 2008, 2:53 AM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Change link names?

znowflake:

Hello
I have looked through the faq and posts in here, but i dont seem to be able to find an answer to my question.

I would like to change the names of the links "privacy" and "conditions".

How do i do that?

ps. I´m sorry if i posted in the wrong forum. Wasnt sure where to add this.

admin -> tools -> Developers Tool Kit

is a great resource

scroll down to the bottom you'll see Look-up in all files

enter your search term

in the next dropdown select All Files - Admin/Catalog

Click Search

The results will give you not only the file(s) where your search term appears but also the line number.

19 Jul 2008, 10:25 AM
#3
znowflake avatar

znowflake

New Zenner

Join Date:
Jul 2008
Posts:
98
Plugin Contributions:
0

Re: Change link names?

Thank you for the info, but it doesnt help me with which files to change :)
The search came up with with 6 files, and I take it i dont have to change all 6 files, to change the name of the link?

Could you please tell me which files i would have to change to change the link names?

19 Jul 2008, 10:39 AM
#4
znowflake avatar

znowflake

New Zenner

Join Date:
Jul 2008
Posts:
98
Plugin Contributions:
0

Re: Change link names?

I changed the name of the link ok, but i cant seem to change the name of the page itself.
The page still comes up showing as "define privacy".
Theres too many files in the search for this, and im not sure which one(s) to change.

Can anyone help me please :)

19 Jul 2008, 12:51 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Change link names?

Where exactly are you seeing "define privacy"?

A link to your site would help a lot.

19 Jul 2008, 10:57 PM
#6
znowflake avatar

znowflake

New Zenner

Join Date:
Jul 2008
Posts:
98
Plugin Contributions:
0

Re: Change link names?

Ok i made a typo.
What i wanted to say was, that i managed to change the name of the link, by changing the name in privacy.php

define('NAVBAR_TITLE', 'Custom Orders');
define('HEADING_TITLE', 'Custom Orders');

but i cant seem to change the actual heading of the page itself.
It still show up as "Privacy notice" in the define pages editor.

How do i change the name of the page itself????

20 Jul 2008, 3:12 AM
#7
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Change link names?

includes/languages/english.php

20 Jul 2008, 9:34 AM
#8
znowflake avatar

znowflake

New Zenner

Join Date:
Jul 2008
Posts:
98
Plugin Contributions:
0

Re: Change link names?

I did change this part to:

// information box text in sideboxes/information.php
define('BOX_HEADING_INFORMATION', 'Information');
define('BOX_INFORMATION_PRIVACY', 'Custom Orders');

and uploaded it to /includes/languages/custom, but the page itself still says Privacy Notice.

I dont see anywhere else in that file where i could change anything related to this.

I know im doing something wrong, but i just dont know what :(

20 Jul 2008, 1:52 PM
#9
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Change link names?

As clydejones said, it's in includes/languages/english.php

Line #137 : define('BOX_INFORMATION_PRIVACY', 'Privacy Notice');

20 Jul 2008, 2:49 PM
#10
znowflake avatar

znowflake

New Zenner

Join Date:
Jul 2008
Posts:
98
Plugin Contributions:
0

Re: Change link names?

Yes and thats exactly what ive changed as you can see from the information i added im my previous post, but for some reason it didnt change anything.

I took the english.php file, changed line 137 (which my info in the previous post also shows), and then uploaded it to my includes/languages/custom folder.

So what is it im doing wrong??

20 Jul 2008, 4:14 PM
#11
indigo_nest avatar

indigo_nest

New Zenner

Join Date:
Jul 2008
Location:
Cary, NC
Posts:
9
Plugin Contributions:
0

Re: Change link names?

What I did whenever I wanted to rename something is similar to what was suggested above. Use the tool to search the specific phrase that you want changed, then WRITE DOWN WHAT FILE YOU CHANGE and change it to something obvious like "DID THIS WORK?". Then go to your web site to the place that you want to see changed and look. If it reads what you put in, you found the right place, if not, go back and undo the change then change the next one. It can be a lot of work, but 1. you will eventually find it and 2. you'll learn a lot about how things work.

20 Jul 2008, 7:39 PM
#12
znowflake avatar

znowflake

New Zenner

Join Date:
Jul 2008
Posts:
98
Plugin Contributions:
0

Re: Change link names?

Ok just to make everything clear.

To change the name of the link "Privacy Notice", i changed the file privacy.php and uploaded it to /includes/languages/custom/english.
Changed from:

define('NAVBAR_TITLE', 'Privacy Notice');
define('HEADING_TITLE', 'Privacy Notice');

to

define('NAVBAR_TITLE', 'Custom Orders');
define('HEADING_TITLE', 'Custom Orders');


Next i wanted to change the heading of the page itself.
From "Privacy Notice" to "Custom Orders"

I changed the following in the English.php file and uploaded it to includes/languages/custom

define('BOX_INFORMATION_PRIVACY', 'Privacy Notice');

to

define('BOX_INFORMATION_PRIVACY', 'Custom Orders');

but for some reason the page header is still showing up as "Privacy Notice".

Im really getting frustrated with this, cos i seem to have done what everyone said, but with no luck.

Looking at this, did i do everything correct?

21 Jul 2008, 5:04 AM
#13
steve1965 avatar

steve1965

New Zenner

Join Date:
Jun 2008
Location:
uk
Posts:
71
Plugin Contributions:
0

Re: Change link names?

znowflake:

Ok just to make everything clear.

To change the name of the link "Privacy Notice", i changed the file privacy.php and uploaded it to /includes/languages/custom/english.
Changed from:

define('NAVBAR_TITLE', 'Privacy Notice');
define('HEADING_TITLE', 'Privacy Notice');

to

define('NAVBAR_TITLE', 'Custom Orders');
define('HEADING_TITLE', 'Custom Orders');


Next i wanted to change the heading of the page itself.
From "Privacy Notice" to "Custom Orders"

I changed the following in the English.php file and uploaded it to includes/languages/custom

define('BOX_INFORMATION_PRIVACY', 'Privacy Notice');

to

define('BOX_INFORMATION_PRIVACY', 'Custom Orders');

but for some reason the page header is still showing up as "Privacy Notice".

Im really getting frustrated with this, cos i seem to have done what everyone said, but with no luck.

Looking at this, did i do everything correct?

i am having exacly the same issues as you are having ,i have tried to alter the page 2 in the side box to say "help and support" but as you have stated you cant change it and neither can i ,and i have done exacly what you have done.
the results are the same. :frusty:

steve

21 Jul 2008, 7:33 PM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Change link names?

Just as clydejones said earlier, look up the text that needs to be changed, to see where it exists:

clydejones:

admin -> tools -> Developers Tool Kit

is a great resource

scroll down to the bottom you'll see Look-up in all files

enter your search term

in the next dropdown select All Files - Admin/Catalog

Click Search

The results will give you not only the file(s) where your search term appears but also the line number.

If you've changed it in the override file, then perhaps your override is in the wrong location?
Post the results of your search here: