Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2007
    Posts
    88
    Plugin Contributions
    0

    Default Information and More Information categories problems

    I was searching around for this information but could not seem to find it.

    Is it possible to merge the "Information" container with the "More Information" container together?

    Secondly despite editing the "page2.php" file the name of the page as shown in the more information box does not change.

    Thirdly, how do I edit the links and pages of "Information" and "More Information?"

    Help on this would be appreciated, thank you.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,655
    Plugin Contributions
    25

    Default Re: Information and More Information categories problems

    To merge the two boxes, create an over-ride information.php in includes/modules/sidesboxes/YOUR_TEMPLATE_NAME.

    Then pick up lines 17-25 of includes/modules/sidesboxes/more_information.php and drop them into your new version of information.php where you want them to appear. As you do so edit the $more_information[] array to be simply $information[].

    These links should now show up in the information box and you should turn the more_information box off via Admin > Tools > Layout Boxes Controller.

    To change the names of the links go to your inlcudes/languages/YOUR_TEMPLATE_NAME/english.php file where you will find the following two blocks of code that define the text used for the links in these boxes
    // information box text in sideboxes/information.php
    define('BOX_HEADING_INFORMATION', 'Information');
    define('BOX_INFORMATION_PRIVACY', 'Privacy Notice');
    define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use');
    define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns');
    define('BOX_INFORMATION_CONTACT', 'Contact Us');
    define('BOX_BBINDEX', 'Forum');
    define('BOX_INFORMATION_UNSUBSCRIBE', 'Newsletter Unsubscribe');

    define('BOX_INFORMATION_SITE_MAP', 'Site Map');

    // 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');
    How you change pages 2, 3 and 4 depends what you want to do with them and there are multiple answers depending upon this objective, including via the define pages editor in Admin, direct editing of the languages/english/html_includes files and creating new php files if you wish them to be more dynamic.
    See and test drive Zen Cart's free templates at zencarttemplates.info

    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jan 2007
    Posts
    88
    Plugin Contributions
    0

    Default Re: Information and More Information categories problems

    Thank you very much. Problems solved.

 

 

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
  •