Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Nov 2007
    Posts
    89
    Plugin Contributions
    0

    Default How do I get Define Pages to recognize a new page for the Information Box?

    Hello

    I want to add a Warranty page to the side Information box. I've create the pages listed below and my warranty page shows up in the Define Pages Editor where I was able to add my information. The page, however, does not show in Configuration/Define Page Status. I added it in to the information.php file to show in the Information box but the page is not working. The link looks wrong and when I click it I get the page not found error. What do I need to do to make this work? I don't know what other files I need to do or how to get the database php to recognize my file.


    public_html/includes/languages/english/html_includes/define_conditions.php
    includes/templates/template_default/templates/tpl_warranty_default.php


    Shipping & Returns
    Privacy Notice
    Conditions of Use
    Contact Us
    BOX_INFORMATION_WARRANTY
    Site Map
    Gift Certificate FAQ
    Discount Coupons
    Newsletter Unsubscribe

  2. #2
    Join Date
    Dec 2005
    Posts
    1,059
    Plugin Contributions
    2

    Default Re: How do I get Define Pages to recognize a new page for the Information Box?

    Suggest you download the About Us Page contribution here:

    http://www.zen-cart.com/index.php?ma...roducts_id=182

    so you can see the files/file structure to add a new page.
    [FONT=Arial]Country Kitty Crafts[/FONT][FONT=Arial]
    [/FONT] [FONT=Garamond]
    [/FONT]

  3. #3
    Join Date
    Nov 2007
    Posts
    89
    Plugin Contributions
    0

    Default Re: How do I get Define Pages to recognize a new page for the Information Box?

    Quote Originally Posted by TShooters View Post
    Suggest you download the About Us Page contribution here:

    http://www.zen-cart.com/index.php?ma...roducts_id=182

    so you can see the files/file structure to add a new page.

    OK, I've downloaded the About Us Page and followed the directions but I am still having a problem. The name "Warranty" is not showing up correctly in the information box. The link works correctly and it opens my Warranty page, I just cannot figure out why it will not show correctly. What is shows in the Information box is: BOX_INFORMATION_WARRANTY when it should show Warranty

    I have the warranty.php file called for in languages/english/extra_definitions/ My_Template

    The code in that file reads:

    <?php
    /**
    * @package languageDefines
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: about_us.php v1.3 $ */

    // this is used to display the text link in the "information" or other sidebox

    define('BOX_INFORMATION_WARRANTY', 'Warranty');
    ?>

    It appears to me that this information is not being read. Is there something I am missing?

    Thanks
    Last edited by ScootaMan; 9 Nov 2007 at 02:16 PM.

  4. #4
    Join Date
    Dec 2005
    Posts
    1,059
    Plugin Contributions
    2

    Default Re: How do I get Define Pages to recognize a new page for the Information Box?

    Are you using the About Us Page contribution for your Warranty page?
    You might check to make sure that you changed all instances of about us in the
    files to Warranty, and that all files were uploaded. When changing the words, a single quote ' may have accidently been omitted. An easy way to check would be to
    used the Developers Tool Kit in Admin/Tools...last on the bottom...search the
    Catalog for BOX_INFORMATION_WARRANTY, and it should bring up the line
    and what file it's in, like this:

    define('BOX_INFORMATION_WARRANTY', 'Warranty');
    [FONT=Arial]Country Kitty Crafts[/FONT][FONT=Arial]
    [/FONT] [FONT=Garamond]
    [/FONT]

  5. #5
    Join Date
    Nov 2007
    Posts
    89
    Plugin Contributions
    0

    Default Re: How do I get Define Pages to recognize a new page for the Information Box?

    TShooters,

    Thanks for your help. I believe I have it fixed. I copied the warranty.php file that had the define statement from languages/english/extra_definitions/My_template to the extra_definitions folder. Once I dropped it in that folder, the name started showing correctly. That's not the location listed in the About Me down load, but it works there.

  6. #6
    Join Date
    Dec 2005
    Posts
    1,059
    Plugin Contributions
    2

    Default Re: How do I get Define Pages to recognize a new page for the Information Box?

    Glad you got it working!

    Are your template overrides folders all named exactly the same? It's important
    that they are so your overrides will work correctly.
    [FONT=Arial]Country Kitty Crafts[/FONT][FONT=Arial]
    [/FONT] [FONT=Garamond]
    [/FONT]

  7. #7
    Join Date
    Nov 2007
    Posts
    89
    Plugin Contributions
    0

    Default Re: How do I get Define Pages to recognize a new page for the Information Box?

    Quote Originally Posted by TShooters View Post
    Glad you got it working!

    Are your template overrides folders all named exactly the same? It's important
    that they are so your overrides will work correctly.
    As far as I can see they are the same. I copied the template name from the file folder and pasted it in to be sure it was the same. I'll double check again, but its all working now.

  8. #8
    Join Date
    Aug 2007
    Posts
    35
    Plugin Contributions
    0

    Default Re: How do I get Define Pages to recognize a new page for the Information Box?

    Please help, my eyes are getting sore from reading and still can't find the answer to my problem. okay i uploaded the About Us files and it seem to be working fine, now what i want to do is add another link "Page 1" to the more information box, i have renamed all the files that referenced "about us" to "page 1" and still something is missing! i get a page not found error. don't mind the page 5 at this point, i just need help as to why it says page not found when i click on the Page 1 link in the More Information Box. please help. Thanks

    Link,

    http://gtc-hosting.com/cart2/

  9. #9
    Join Date
    Nov 2007
    Posts
    89
    Plugin Contributions
    0

    Default Re: How do I get Define Pages to recognize a new page for the Information Box?

    Quote Originally Posted by gtcman View Post
    Please help, my eyes are getting sore from reading and still can't find the answer to my problem. okay i uploaded the About Us files and it seem to be working fine, now what i want to do is add another link "Page 1" to the more information box, i have renamed all the files that referenced "about us" to "page 1" and still something is missing! i get a page not found error. don't mind the page 5 at this point, i just need help as to why it says page not found when i click on the Page 1 link in the More Information Box. please help. Thanks
    Link,

    Have you seen the tutorial here? https://www.zen-cart.com/tutorials/i...hp?article=242

    I don't know if that would help or not.

  10. #10
    Join Date
    Aug 2007
    Posts
    35
    Plugin Contributions
    0

    Default Re: How do I get Define Pages to recognize a new page for the Information Box?

    Thanks Scootaman for the reply, thats what i have but still can't find the page! see photo,
    Attached Images Attached Images  

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139g How to get page 3 page 4 etc to show up in information box?
    By knitcrazy in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 27 Jan 2012, 09:09 PM
  2. Replies: 4
    Last Post: 12 Mar 2010, 09:56 PM
  3. Define Pages - How to define brand new page
    By hutch32804 in forum Customization from the Admin
    Replies: 4
    Last Post: 31 Oct 2009, 01:39 PM
  4. How to get rid of the site map on the "Define Pages" 404 page not found?
    By karma-lab in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Jun 2008, 04:50 AM
  5. EZ Pages - insert new page into Information Box
    By bigfatgreedykat in forum General Questions
    Replies: 0
    Last Post: 30 Oct 2006, 12:35 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