Results 1 to 7 of 7
  1. #1
    Join Date
    May 2007
    Posts
    8
    Plugin Contributions
    0

    Default Renaming define pages help

    I'm trying to rename the define_page_2,3,4 so they do not link on my main page as Page 2. I would like them to say Warranty, Free Shipping, etc. Please help.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Renaming define pages help

    You would need to rename the whole gang of files to do something like that if you want the actual filename in the URL to read warranty ...

    It might be easier to clone a set by do a trace on something like:
    page_2
    page 2

    in the Developers Tool Kit ... to show you were everything exists ...

    Then you would need to look into the configuration_keys for this as well ... so that you have control on them ...

    In the downloads is an About Us add-on that I believe has both a sidebox and a page of its own that can help you with this ...
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Oct 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: Renaming define pages help

    Hi

    You can do this in:
    includes/languages/english.php

    But use the override system!
    Create a directory called YOUR_TEMPLATE_NAME in includes/languages
    and copy the above file to this directory and make the changes there.

    Find the following in this file
    Code:
    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');

    Linda: You're making his head spin!!
    I'm not a coder, I just want to run a webshop.

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,475
    Plugin Contributions
    11

    Default Re: Renaming define pages help

    So....
    Pointing out all the things necessary to do the enormous task Qwikstreet wanted to do while additionally pointing to a mod that might make it easier is headspinning?
    Searching for Page_2 in the Developer's Toolkit results in 15 files that would need to be changed. A page 2 search results in 9 pages to be changed.
    includes/languages/english is therefore only one of twenty-four places that will need to be changed.
    As usual, ajeh is not trying to stifle creativity but also attempting to point out options.
    Unless you are EXCELLENT in making sure each of the twenty-four files are correctly edited and saved to the overide system, I'd go with the about us mod.

  5. #5
    Join Date
    Oct 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: Renaming define pages help

    OK

    I clearly stepped on your toe... (hope you see the humour here) as you did
    on mine now.

    Just read his question, he's specific about what he wants.

    IMHO he just wants to change the caption of his links on the front-end
    not the internal naming, so why smack him in the face with developers
    toolkit or a extra mod which will require him to override the sidebox, etc?
    The headspin thing is a joke because it should be an easy fix instead!
    I wasn't questioning Linda's Zen knowledge which I know she has.

    But why didn't you let qwikstreet be the judge?

    I had just decided to step in and help where I could, and you're showing
    your appreciation nicely.
    When someone asks a question about their ZC think of them as stated in my signature.

    Read it?

    They don't enjoy coding as some do, they just want to sell their goods/services.
    So just give them what they need at that time, no more, no less.

    But that's only my opinion...
    I'm not a coder, I just want to run a webshop.

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,475
    Plugin Contributions
    11

    Default Re: Renaming define pages help

    Like the toe bit.

    Yes, I read them all. And, you should have read that there are nine files that list "Page 2." This is not the code "page_2" but an actual listing of the title. Doing as you suggested would have "fixed" the more info box but would have given him quite a surprise when Page 2 showed on the page, nav bar, and in the title.

    I was not on a quest to save Linda nor denigrate you. I simply felt that the best way to decide was to have all the facts.

    Regardless of the decision made by Qwikstreet, those who have a similar request in the future will find more than partial information to help them on their way.

  7. #7

    Default Re: Renaming define pages help

    Quote Originally Posted by ALHO View Post
    Hi

    You can do this in:
    includes/languages/english.php

    But use the override system!
    Create a directory called YOUR_TEMPLATE_NAME in includes/languages
    and copy the above file to this directory and make the changes there.

    Find the following in this file
    Code:
    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');
    I did this as well as in

    includes/languages/english/

    You will find page_2(and 3,4).php where you can edit the grey text at the top of the page and the text appearing in the browser bar.

 

 

Similar Threads

  1. EZ Pages/Define Pages Editor HELP
    By KenshiroU in forum General Questions
    Replies: 3
    Last Post: 16 Jan 2013, 02:03 PM
  2. remove <meta description> from ez pages and define pages : help
    By vandiermen in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Oct 2010, 12:13 AM
  3. Need more help on Define Pages renaming
    By missinglife in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Jun 2009, 09:24 PM
  4. Define Page 2, 3 Renaming
    By gardengate in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 1 Oct 2006, 12:50 PM
  5. index_default & define pages(4+ define pages on frontpage?)
    By mrmarcus66 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 May 2006, 07:38 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR