Forums / General Questions / Changing More info box page names

Changing More info box page names

Locked

Views: 2,563

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
30 Oct 2007, 4:10 PM
#1
hylt avatar

hylt

New Zenner

Join Date:
Oct 2007
Posts:
20
Plugin Contributions:
0

Changing More info box page names

Hi There,

This is my first post so apologies if it's in the wrong place.

I'm getting on quite well with Zen after a few years of using another cart system.

I have one problem which has taken a few hours of my time and still remains unsolved.

The pages which are in the More information sidebox on my site which are named define_page_2.php, define_page_3.php, define_page_4.php in the Define Pages Editor.

How do you change the title of the pages when they are displayed?

At the moment I'm getting "Page 2" then all the information text I've entered underneath.

I don't know if I'm allowed to post a link to the page just to show what I mean so I hope somebody can understand my explanations.

Kindest Regards

Hylt

30 Oct 2007, 4:16 PM
#2
andrewclarke avatar

andrewclarke

New Zenner

Join Date:
May 2006
Location:
Isle of Wight, UK
Posts:
77
Plugin Contributions:
1

Re: Changing More info box page names

Welcome to the Zen-Cart Forum!

To name the pages Page2 Page3 Page4 you will need to access your site using an ftp client.

Once connected, go to:

public_html/YOURSHOP/includes/languages/ 

Download the english.php file to your desktop.

Open the file using Notepad or whatever you use.

Scroll down through the code until you find the following:

// 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');

Then rename the files to your extra pages

E.g.,

define('BOX_INFORMATION_PAGE_4', 'your extra page name');

Once you have done that. Save the file and upload back were you found it overwriting the old file.

Make sure you keep a spare copy of the un-edited file in case you make a mistake

Andrew

Gloss Black Vista Buttons | FREE DOWNLOAD

30 Oct 2007, 4:20 PM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: Changing More info box page names

Once you have done that. Save the file and upload back were you found it overwriting the old file.

Not quite - DO NOT overwrite your original file, create a copy and upload it to your overrides directory or it will be lost when you upgrade.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

30 Oct 2007, 4:27 PM
#4
hylt avatar

hylt

New Zenner

Join Date:
Oct 2007
Posts:
20
Plugin Contributions:
0

Re: Changing More info box page names

Hi Andrew

Thanks for your reply.

I have already done that and it changed the name in the side box OK. However on top of the actual page it still says "Page 2".

There is one thing I probably should have mentioned, I have the Apple template installed so maybe there is another file that needs to be changed?

I've spent quite a bit of time trying to find where I need to make my changes but no luck.

However I shall carry on regardless.

Thanks for your time in replying to my post.

Kindest Regards

Hylt

30 Oct 2007, 4:28 PM
#5
andrewclarke avatar

andrewclarke

New Zenner

Join Date:
May 2006
Location:
Isle of Wight, UK
Posts:
77
Plugin Contributions:
1

Re: Changing More info box page names

Kim:

Not quite - DO NOT overwrite your original file, create a copy and upload it to your overrides directory or it will be lost when you upgrade.

Well Spotted Kim!

NOTED! :yes:

Gloss Black Vista Buttons | FREE DOWNLOAD

30 Oct 2007, 4:33 PM
#6
andrewclarke avatar

andrewclarke

New Zenner

Join Date:
May 2006
Location:
Isle of Wight, UK
Posts:
77
Plugin Contributions:
1

Re: Changing More info box page names

Hylt:

Hi Andrew

Thanks for your reply.

I have already done that and it changed the name in the side box OK. However on top of the actual page it still says "Page 2".

There is one thing I probably should have mentioned, I have the Apple template installed so maybe there is another file that needs to be changed?

OK i understand now, the pages are separate php files and can be found here:

public_html/YOURSHOP/includes/languages/english

page2.php
page3.php
page4.php

Andrew

Gloss Black Vista Buttons | FREE DOWNLOAD

30 Oct 2007, 4:54 PM
#7
hylt avatar

hylt

New Zenner

Join Date:
Oct 2007
Posts:
20
Plugin Contributions:
0

Re: Changing More info box page names

Hi Again

I've just changed that file with no effect.

The page still has "Page 2" at the top.

I'll keep searching to see if I can find the problem.

I have no products in my store yet so it won't matter if it self destructs!!

Thanks for all the help.

Kindest Regards

Hylt

30 Oct 2007, 5:59 PM
#8
andrewclarke avatar

andrewclarke

New Zenner

Join Date:
May 2006
Location:
Isle of Wight, UK
Posts:
77
Plugin Contributions:
1

Re: Changing More info box page names

Can I just check you opened them files in notepad and edited them & not simply renamed then from page2.php to otherpage.php?

That should rename your pages

Gloss Black Vista Buttons | FREE DOWNLOAD

30 Oct 2007, 6:07 PM
#9
hylt avatar

hylt

New Zenner

Join Date:
Oct 2007
Posts:
20
Plugin Contributions:
0

Re: Changing More info box page names

Hi Andrew

Thank you for replying again.

I altered the files in PHP Designer. save an original just in case then uploaded the edited file.

I've done quite a bit of editing of other carts ( Don't know if I can mention the competition here!) but this one has me stumped!!

Regards

Hylt

4 Nov 2007, 3:47 PM
#10
ekles avatar

ekles

New Zenner

Join Date:
Aug 2005
Posts:
73
Plugin Contributions:
0

Re: Changing More info box page names

Have you fixed it.

If not the answer to your problem is

go into your includes/languages/english directory

You will see files names

page_2.php
page_3.php
etc

Use an FTP client to download the files.

Open each and edit the fields

Example

define('NAVBAR_TITLE', 'Warranty and Repairs');
define('HEADING_TITLE', 'Warranty and Repairs');

define('TEXT_INFORMATION', 'Warranty and Repairs');

And presto Nav bar fixed

Then following the earlier info you had from the others upload to the server

Making sure we get the cost of freight back will drive us all mad at some stage.

7 Nov 2007, 5:25 PM
#11
hylt avatar

hylt

New Zenner

Join Date:
Oct 2007
Posts:
20
Plugin Contributions:
0

Re: Changing More info box page names

Hi Everybody

Many thanks for all the help, the problem is now solved.

I quite enjoying setting Zen cart it has a lot of useful additions as opposed to other carts.

many thanks again to everybody who offered help.

Kindest Regards

Hylt