Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2005
    Posts
    16
    Plugin Contributions
    0

    Default SideBox_MoreInformation Text / Change Page_? name

    The tutorial on changing the heading and nav_bar titles uses:

    http://tutorials.zen-cart.com/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:

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

  2. #2
    Join Date
    Sep 2005
    Posts
    16
    Plugin Contributions
    0

    red flag 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

  3. #3
    Join Date
    Sep 2005
    Posts
    16
    Plugin Contributions
    0

    red flag 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". I would suggest using a simple text editor like notepad or wordpad to edit the contents of english.php.

  4. #4
    Join Date
    Apr 2006
    Posts
    5
    Plugin Contributions
    0

    Default Re: SideBox_MoreInformation Text / Change Page_? name

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

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,649
    Plugin Contributions
    6

    Default Re: SideBox_MoreInformation Text / Change Page_? name

    Quote Originally Posted by dmishle View Post
    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". 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 ...

    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 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  6. #6
    Join Date
    Sep 2005
    Posts
    16
    Plugin Contributions
    0

    Idea or Suggestion 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.

  7. #7
    Join Date
    Apr 2006
    Posts
    5
    Plugin Contributions
    0

    Default 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?

 

 

Similar Threads

  1. Page editor > define_checkout_succes.php text not visible
    By hendrik6073 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 3 Jan 2007, 05:22 PM
  2. Admin Page in text only view
    By spitfireguy in forum General Questions
    Replies: 6
    Last Post: 25 Jul 2006, 04:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •