Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2008
    Posts
    18
    Plugin Contributions
    0

    Default RE: define_page_2.php

    Hi,

    May I know how to change define_page_2.php , instead the word page2, I want FAQ's or Shipping or anything.Anyone knows,thanks

  2. #2
    Join Date
    Dec 2007
    Location
    Southern Maine
    Posts
    281
    Plugin Contributions
    0

    Default Re: define_page_2.php

    Have you tried the developers tool kit located in admin/tools/developers tool kit?
    Use the lowest set of boxes. In the first, place the text you are looking for ie; page 2. Then in the second box, use the dropdown and choose all files catalog/admin.

    Hit the search button, and you will get a list of all files that contain page 2.

    I found 7 lines in 5 files that contain page 2. Choose the appropriate one ( I would assume the define_page_2.php, but maybe the english.php) and FTP a copy to your desktop, and see how you did. Don't forget to place any files you edit into your overrides folders.

    Personally, I keep 2 copies. One to edit and FTP back, the other as an original in case my editing screws something up, then I can just FTP the original back to straighten it out. I made a folder called original, and a subfolder called edited to keep them separate. Just be sure to edit only the ones in the edited folder

  3. #3
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    843
    Plugin Contributions
    0

    Default Re: define_page_2.php

    From Tutorials/FAQ: https://www.zen-cart.com/tutorials/i...hp?article=242

    Also in includes/languages/english.php

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

    Change as desired and save to your CUSTOM folder

    Three things here are your best friends...the Tutorials/FAQ link at the top of the forum....the search feature....and the Developer's Toolkit as mentioned in the previous post.....and of course when all else fails, the great support community here *grinz*
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

 

 

Similar Threads

  1. Display the text from define_page_2.php on every page
    By buxton1 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 22 Dec 2010, 12:14 PM
  2. Replies: 2
    Last Post: 17 Oct 2010, 09:07 PM
  3. bring back define_page_2.php
    By doghouse in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Oct 2009, 05:26 AM
  4. Customize This Item (define_page_2.php)
    By Drugoholic in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 Jul 2009, 08:00 AM
  5. How to include define_page_2.php content in header for easy editing
    By vandiermen in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 30 May 2009, 07:56 PM

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