Results 1 to 6 of 6

Threaded View

  1. #1
    Join Date
    Sep 2007
    Posts
    16
    Plugin Contributions
    0

    Default How to add some pages in Information slide-box

    Hi all,

    Please tell me how can I add some pages in Information slide-box ???

    ex:
    * Shipping & Returns
    * Privacy Notice
    * Conditions of Use
    * Contact Us
    * Site Map
    * Gift Certificate FAQ
    * Discount Coupons
    * Newsletter Unsubscribe
    * Shipping & Returns
    * Test page 1
    * Test page 2
    * Test page 3
    .......


    You can see what I did

    At First

    I going to page information.php in /includes/modules/sideboxes
    At line:
    Code:
      if (DEFINE_CONDITIONS_STATUS <= 1) {
        $information[] = '<a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a>';
      }
    I copy and paste one edited below:

    Code:
     
     if (DEFINE_TEST1_STATUS <= 1) {
        $information[] = '<a href="' . zen_href_link(FILENAME_TEST1) . '">' . BOX_INFORMATION_TEST1 . '</a>';
      }
    save and upload it back.
    --------------------

    Second step:


    In page english.php in /includes/languages
    At line:
    Code:
    // information box text in sideboxes/information.php
      define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use');
    I copy and paste one edited below:
    Code:
    // information box text in sideboxes/information.php
      define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use');
      define('BOX_INFORMATION_TEST1', 'Test page 1');
    save and upload it back.
    --------------------

    Third step:

    I copy define_conditions.php and paste one with new name is define_test1.php in /includes/languages/english/html_includes

    --------------------

    Fourth step:
    I copy header_php.php in /includes/modules/pages/conditions and paste one at
    /includes/modules/pages/test1

    In this file, I has replaced:
    Code:
    // include template specific file name defines
    $define_page = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', FILENAME_DEFINE_CONDITIONS, 'false');
    after replaced:
    Code:
    // include template specific file name defines
    $define_page = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', FILENAME_DEFINE_TEST1, 'false');
    --------------------

    Fift step:
    I copy conditions.php and paste one with new name is test1.php in /includes/languages/english

    At line:
    Code:
    define('NAVBAR_TITLE', 'Conditions of Use');
    define('HEADING_TITLE', 'Conditions of Use');
    
    define('TEXT_INFORMATION', 'Your Conditions of Use information should be on this page.');
    ?>
    Replace to:
    Code:
    define('NAVBAR_TITLE', 'Test page 1');
    define('HEADING_TITLE', 'Test page 1');
    
    define('TEXT_INFORMATION', 'Your Test page 1 information should be on this page.');
    ?>
    =====================================

    Finally, I saw a new link Test page 1 in Information slide-box. But when I click this link, it's doesn't work.
    Example:

    What's wrong with me
    Last edited by Necro; 11 Oct 2007 at 09:35 PM.

 

 

Similar Threads

  1. How do I add additional pages to more information side box?
    By marketimpact in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Sep 2010, 11:59 AM
  2. Moved Define Pages to Information Box Now Some Issues
    By pheniks in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 2 May 2008, 11:46 PM
  3. How to sort order link in Information slide-box???
    By Necro in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Oct 2007, 10:41 AM
  4. Add pages to More Information Box?
    By centrix in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Apr 2007, 07:33 PM
  5. Add EZ-Pages to Information box?
    By Danielle in forum Basic Configuration
    Replies: 2
    Last Post: 7 Dec 2006, 10:28 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