Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2007
    Posts
    84
    Plugin Contributions
    0

    Default Changing order of information sidebox

    I am trying to figure out how to change the order in the information box. I know you go to includes/modules/sidebox/custom/information but i cant figure out which ones to move.
    Below is my codes. Can someone please help. thanks




    unset($information);



    if (DEFINE_SHIPPINGINFO_STATUS <= 1) {

    $information[] = '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>';

    }

    if (DEFINE_PRIVACY_STATUS <= 1) {

    $information[] = '<a href="' . zen_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a>';

    }

    if (DEFINE_CONDITIONS_STATUS <= 1) {

    $information[] = '<a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a>';

    }

    if (DEFINE_CONTACT_US_STATUS <= 1) {

    $information[] = '<a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>';

    }



    // Forum (phpBB) link:

    if ( (isset($phpBB->phpBB['db_installed_config']) && $phpBB->phpBB['db_installed_config']) && (isset($phpBB->phpBB['files_installed']) && $phpBB->phpBB['files_installed']) && (PHPBB_LINKS_ENABLED=='true')) {

    $information[] = '<a href="' . zen_href_link($phpBB->phpBB['phpbb_url'] . FILENAME_BB_INDEX, '', 'NONSSL', false, '', true) . '" target="_blank">' . BOX_BBINDEX . '</a>';

    // or: $phpBB->phpBB['phpbb_url'] . FILENAME_BB_INDEX

    // or: str_replace(str_replace(DIR_WS_CATALOG, '', DIR_FS_CATALOG), '', DIR_WS_PHPBB)

    }



    if (DEFINE_SITE_MAP_STATUS <= 1) {

    $information[] = '<a href="' . zen_href_link(FILENAME_SITE_MAP) . '">' . BOX_INFORMATION_SITE_MAP . '</a>';

    }



    // only show GV FAQ when installed

    if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') {

    $information[] = '<a href="' . zen_href_link(FILENAME_GV_FAQ) . '">' . BOX_INFORMATION_GV . '</a>';

    }

    // only show Discount Coupon FAQ when installed

    if (DEFINE_DISCOUNT_COUPON_STATUS <= 1 && MODULE_ORDER_TOTAL_COUPON_STATUS == 'true') {

    $information[] = '<a href="' . zen_href_link(FILENAME_DISCOUNT_COUPON) . '">' . BOX_INFORMATION_DISCOUNT_COUPONS . '</a>';

    }



    if (SHOW_NEWSLETTER_UNSUBSCRIBE_LINK == 'true') {

    $information[] = '<a href="' . zen_href_link(FILENAME_UNSUBSCRIBE) . '">' . BOX_INFORMATION_UNSUBSCRIBE . '</a>';

    }



    require($template->get_template_dir('tpl_information.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_information.php');



    $title = BOX_HEADING_INFORMATION;

    $title_link = false;



    require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);

    ?>

  2. #2
    Join Date
    Jul 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: Changing order of information sidebox

    Which links do you want to move and what order do you want them to appear in?

 

 

Similar Threads

  1. Editing, changing links in Information Sidebox
    By Euonym in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 28 Aug 2010, 02:57 PM
  2. Changing the Information Sidebox
    By venera15 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 31 Jan 2008, 02:56 PM
  3. Changing Page 2 name in More Information sidebox
    By topaz44 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 16 Jan 2008, 05:19 PM
  4. changing information on a sidebox
    By kylieland in forum Customization from the Admin
    Replies: 1
    Last Post: 19 Oct 2007, 01:13 PM
  5. Changing Page2, 3,4 under more information sidebox
    By jackrich1967 in forum General Questions
    Replies: 8
    Last Post: 6 Jun 2007, 04:19 AM

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