Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Renaming "information" categories

Renaming "information" categories

Locked

Views: 1,919

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
12 Sep 2007, 8:16 PM
#1
solartrees avatar

solartrees

New Zenner

Join Date:
Jun 2007
Posts:
53
Plugin Contributions:
0

Renaming "information" categories

I wish to locate where to go into my file manager to rename the Categories on the main page, like "discount coupons" etc.

And to change the "page 2" to say "blah blah" etc.

I am not sure if this is the right area: includes/modules/sideboxes/information.php I got this from a post but could not catch onto what they change in the code there.:dontgetit

Thank you for all who reply.

12 Sep 2007, 9:02 PM
#2
clydejones avatar

clydejones

Deceased

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

Re: Renaming "information" categories

SolarTrees:

I wish to locate where to go into my file manager to rename the Categories on the main page, like "discount coupons" etc.

And to change the "page 2" to say "blah blah" etc.

I am not sure if this is the right area: includes/modules/sideboxes/information.php I got this from a post but could not catch onto what they change in the code there.:dontgetit

Thank you for all who reply.

If you want to just change the titles of the sideboxes then check:

How do I change the category (or any other sidebox) title?
in the tutorials/FAQ section

If however you want to change the actual names then look in

includes/languages/english/*.php and change the following define statements

define('NAVBAR_TITLE', 'Page ?');
define('HEADING_TITLE', 'Page ?');

The highlighted portions would what you would change

13 Sep 2007, 2:20 PM
#3
solartrees avatar

solartrees

New Zenner

Join Date:
Jun 2007
Posts:
53
Plugin Contributions:
0

Re: Renaming "information" categories

Thank you for the help I will check it out.:smile:

13 Sep 2007, 3:20 PM
#4
solartrees avatar

solartrees

New Zenner

Join Date:
Jun 2007
Posts:
53
Plugin Contributions:
0

Re: Renaming "information" categories

clydejones:

If you want to just change the titles of the sideboxes then check:

How do I change the category (or any other sidebox) title?
in the tutorials/FAQ section

If however you want to change the actual names then look in

includes/languages/english/*.php and change the following define statements

define('NAVBAR_TITLE', 'Page ?');
define('HEADING_TITLE', 'Page ?');

The highlighted portions would what you would change

The navbar name did change thanks. But, I do not wish to change the sidebox name Like Information or More Information, I wish to only change some of the titles under the sidebox names!!!

So, page 2 I wish to change to "about us" under the "more information"

and I wish to change "discount coupons" to "incentives" or something like that.

I tried playing around in the includes/languages/english.php but things started getting fuzzy, so I did not mess with it further!!

I look forward to your input on this issue!:smartalec:

13 Sep 2007, 3:34 PM
#5
clydejones avatar

clydejones

Deceased

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

Re: Renaming "information" categories

SolarTrees:

The navbar name did change thanks. But, I do not wish to change the sidebox name Like Information or More Information, I wish to only change some of the titles under the sidebox names!!!

So, page 2 I wish to change to "about us" under the "more information"

and I wish to change "discount coupons" to "incentives" or something like that.

I tried playing around in the includes/languages/english.php but things started getting fuzzy, so I did not mess with it further!!

I look forward to your input on this issue!:smartalec:

includes/languages/english/discount_coupon.php

define('NAVBAR_TITLE', 'Discount Coupon');
define('HEADING_TITLE', 'Discount Coupon');

includes/languages/english/page_2.php

define('NAVBAR_TITLE', 'page 2');
define('HEADING_TITLE', 'page 2');

Change the highlighted portions to whatever text you wish.

You can apply the same logic to any of the files in

includes/languages/english/*.php

13 Sep 2007, 4:15 PM
#6
solartrees avatar

solartrees

New Zenner

Join Date:
Jun 2007
Posts:
53
Plugin Contributions:
0

Re: Renaming "information" categories

Yes. But the this does not change the Page 2 to About Us under the "More Information" sidebox!

It only changes it when you click on the Page 2 and the page comes up and you will see "about us" there, that part is good.

We need to get back to the "main page" and change :


[ more information ]

page 2 to about us
page 3 to XXXXXXX
page 4 to YYYYYYYY


-------------------------------------

where do you go to change the menu names in other words.

I would like to make changes to "discount coupons" under the "information" sidebox as well, where do I go to change the menu name ----> "discount coupon" to "incentives" !!???:flex:

13 Sep 2007, 5:36 PM
#7
clydejones avatar

clydejones

Deceased

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

Re: Renaming "information" categories

SolarTrees:

Yes. But the this does not change the Page 2 to About Us under the "More Information" sidebox!

It only changes it when you click on the Page 2 and the page comes up and you will see "about us" there, that part is good.

We need to get back to the "main page" and change :


[ more information ]

page 2 to about us
page 3 to XXXXXXX
page 4 to YYYYYYYY

-------------------------------------

where do you go to change the menu names in other words.

I would like to make changes to "discount coupons" under the "information" sidebox as well, where do I go to change the menu name ----> "discount coupon" to "incentives" !!???:flex:

includes/languages/english.php

find the define statements you need to change

13 Sep 2007, 8:16 PM
#8
solartrees avatar

solartrees

New Zenner

Join Date:
Jun 2007
Posts:
53
Plugin Contributions:
0

Re: Renaming "information" categories

Sorry bout' that I managed to figure it out! Here is what I did:

Located: includes/languages/English.php ( you click on languages and you will see English.php and in there you will find this area of code)
Changing the names under the “information” and “more information” sideboxes on the main pg
The default location:
// information box text in sideboxes/information.php****
define('BOX_HEADING_INFORMATION', 'Information');
define('BOX_INFORMATION_PRIVACY', 'Privacy Notice');
define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use');
define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns');
define('BOX_INFORMATION_CONTACT', 'Contact Us');
define('BOX_BBINDEX', 'Forum');
define('BOX_INFORMATION_UNSUBSCRIBE', 'Newsletter Unsubscribe');

define('BOX_INFORMATION_SITE_MAP', 'Site Map');

// information box text in sideboxes/more_information.php - were TUTORIAL_
define('BOX_HEADING_MORE_INFORMATION', 'More Information');
define('BOX_INFORMATION_PAGE_2', 'Page 2');
define('BOX_INFORMATION_PAGE_3', 'Page 3');
define('BOX_INFORMATION_PAGE_4', 'Page 4');

This is where you go to change the “discount coupon” title under the the “information” sidebox
Located: includes/languages/ (you click on languages and you will see English.php and in there you will find this area of code)
define('TEXT_CCVAL_ERROR_INVALID_DATE', 'The expiration date entered for the credit card is invalid. Please check the date and try again.');
define('TEXT_CCVAL_ERROR_INVALID_NUMBER', 'The credit card number entered is invalid. Please check the number and try again.');
define('TEXT_CCVAL_ERROR_UNKNOWN_CARD', 'The credit card number starting with %s was not entered correctly, or we do not accept that kind of card. Please try again or use another credit card.');

define('BOX_INFORMATION_DISCOUNT_COUPONS', ****Discount Coupons);
That took some time to figure out, if you notice "/english" and "english.php" are in slightly different areas within the same area!! I know it's a bit tuff to explain. But by clicking on /languages you will come to one area where you can make a change, but if you look the "discount coupons" cannot be changed Under the "Information" sidebox on the main page, you have to go one level more to /lang/english/english.php and I believe in there is where I found the code above this message that would change the "discount coupon" to "about us" or whatever a person chooses.

This is where I got mixed up and you were spot on with you reply, just a bit vague on Exactly which line of code to go to. It just makes it easier if people give a bit more exact, since this computer code stuff is touchy and I am not using an override either!!:lamo:

Thanks for the help!!

23 Feb 2008, 6:48 PM
#9
lj111970 avatar

lj111970

New Zenner

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
97
Plugin Contributions:
0

Re: Renaming "information" categories

Solar - Thank you so much for taking the time to post all that. I have been looking for that information for an hour now. It really helped!!!!

Thanks.