Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / SideBox_MoreInformation Text / Change Page_? name

SideBox_MoreInformation Text / Change Page_? name

Locked

Views: 1,949

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
27 Jan 2007, 4:55 AM
#1
dmishle avatar

dmishle

New Zenner

Join Date:
Sep 2005
Posts:
16
Plugin Contributions:
0

SideBox_MoreInformation Text / Change Page_? name

The tutorial on changing the heading and nav_bar titles uses:

https://www.zen-cart.com/tutorials/index.php?article=242.

I found that his tutorial didn't go quite far enough for what I was looking for. The following should prove helpful for those of you looking to change the names of the pages as well as the heading on the page and the navigation bar title.

To change the names of the Page_1, Page_2 and Page_3 files, download english.php from /includes/languages/ scoll down to the comment:

// 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');
```Changing the contents between the second set of single quotes will change the names of the pages, an example follows:

```php
// information box text in sideboxes/more_information.php - were TUTORIAL_
  define('BOX_HEADING_MORE_INFORMATION', 'More Information');
  define('BOX_INFORMATION_PAGE_2', 'Your Personal Shopper');
  define('BOX_INFORMATION_PAGE_3', 'About Us');
  define('BOX_INFORMATION_PAGE_4', 'Under Construction');
28 Jan 2007, 2:13 AM
#2
dmishle avatar

dmishle

New Zenner

Join Date:
Sep 2005
Posts:
16
Plugin Contributions:
0

Re: SideBox_MoreInformation Text / Change Page_? name

I probably should have added Page_1, Page_2, etc in the title bar in order for the thread to show up in the search results. Here is the thread to a how-to on changing the title of the page for SideBox MoreInformation.

Here is the thread about changing the contents of MoreInformation SideBox:

http://www.zen-cart.com/forum/showthread.php?t=56844

28 Jan 2007, 2:16 AM
#3
dmishle avatar

dmishle

New Zenner

Join Date:
Sep 2005
Posts:
16
Plugin Contributions:
0

Re: SideBox_MoreInformation Text / Change Page_? name

I just heard from another new zencart user. He tried the afore mentioned process and had some trouble. One warning that I need to forward, is that if you edit english.php using a wysiwig editor like NVU the html can become "mal-formatted". :cry: I would suggest using a simple text editor like notepad or wordpad to edit the contents of english.php.

18 Feb 2007, 2:08 AM
#4
kabailz13 avatar

kabailz13

New Zenner

Join Date:
Apr 2006
Posts:
5
Plugin Contributions:
0

Re: SideBox_MoreInformation Text / Change Page_? name

I've been doing this and it changes nothing???

18 Feb 2007, 2:51 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: SideBox_MoreInformation Text / Change Page_? name

dmishle:

I just heard from another new zencart user. He tried the afore mentioned process and had some trouble. One warning that I need to forward, is that if you edit english.php using a wysiwig editor like NVU the html can become "mal-formatted". :cry: I would suggest using a simple text editor like notepad or wordpad to edit the contents of english.php.

Never ever use anything other than a true TEXT editor for any php file or you will be doomed ... :eek:

We suggest that you never even use your control panel on your server for this as that too will more often than not corrupt your php files ...

19 Feb 2007, 12:13 AM
#6
dmishle avatar

dmishle

New Zenner

Join Date:
Sep 2005
Posts:
16
Plugin Contributions:
0

Re: SideBox_MoreInformation Text / Change Page_? name

Don't forget to upload the changed english.php file back into the same directory / folder that it came from. If you have the zencart installation in both your www and ssl directories, don't forget to save it in both places.

19 Feb 2007, 8:24 AM
#7
kabailz13 avatar

kabailz13

New Zenner

Join Date:
Apr 2006
Posts:
5
Plugin Contributions:
0

Re: SideBox_MoreInformation Text / Change Page_? name

arrrggghhh still not working :(

I've changed and upload both the english.php and the page_?.php files and put them where I was meant to I think but I've obviously done something wrong :(

anyone got any tips?