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,569
    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.
    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.

 

 

Similar Threads

  1. Information and More Information Sidebox
    By sports guy in forum General Questions
    Replies: 4
    Last Post: 21 Dec 2011, 05:40 PM
  2. how to move link from more information to information side box?
    By mrobson86 in forum General Questions
    Replies: 1
    Last Post: 21 Sep 2011, 09:01 PM
  3. added pages to "more information" problems with HEADING_TITLE and NAVBAR_TITLE
    By phingoc in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 16 Jun 2011, 07:15 AM
  4. How to combine items from Information & More Information side boxes
    By jackryan in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Dec 2008, 06:19 AM
  5. How do I merge the sideboxes for 'Information' and 'More Information'
    By val-ent in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Jul 2008, 10:59 AM

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