Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Oct 2007
    Posts
    20
    Plugin Contributions
    0

    help question 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

  2. #2
    Join Date
    May 2006
    Location
    Isle of Wight, UK
    Posts
    78
    Plugin Contributions
    1

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

    Code:
    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:

    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');
    Then rename the files to your extra pages

    E.g.,

    Code:
    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

  3. #3
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

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

  4. #4
    Join Date
    Oct 2007
    Posts
    20
    Plugin Contributions
    0

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

  5. #5
    Join Date
    May 2006
    Location
    Isle of Wight, UK
    Posts
    78
    Plugin Contributions
    1

    Default Re: Changing More info box page names

    Quote Originally Posted by Kim View Post
    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!*

  6. #6
    Join Date
    May 2006
    Location
    Isle of Wight, UK
    Posts
    78
    Plugin Contributions
    1

    Default Re: Changing More info box page names

    Quote Originally Posted by Hylt View Post
    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

  7. #7
    Join Date
    Oct 2007
    Posts
    20
    Plugin Contributions
    0

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

  8. #8
    Join Date
    May 2006
    Location
    Isle of Wight, UK
    Posts
    78
    Plugin Contributions
    1

    Default 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

  9. #9
    Join Date
    Oct 2007
    Posts
    20
    Plugin Contributions
    0

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

  10. #10
    Join Date
    Aug 2005
    Posts
    75
    Plugin Contributions
    0

    Default 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

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Edit names of "Page 2, Page 3" etc in More Info sidebox
    By lnsenterprises in forum Basic Configuration
    Replies: 1
    Last Post: 10 Sep 2012, 09:02 PM
  2. Changing Page 1 page 2 in the more info box
    By jnstrom in forum Basic Configuration
    Replies: 10
    Last Post: 2 Apr 2008, 09:31 AM
  3. More info page names
    By TBSM in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Feb 2008, 10:09 AM

Posting Permissions

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