Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2010
    Posts
    22
    Plugin Contributions
    0

    Default contact us does not show up on information sidebox

    I have a weird problem.

    I know that I do have a working contact us page with the email function, because I can access that page when the 404 page redirects me to the sitemap. (The sitemap is apparently there as a default)

    The address of that contact us page is
    http://example.com/index.php?main_page=contact_us.


    But somehow I could not manage to make it appear normally on the information box. (The box itself, and the About Us page, does appear normally.)

    The following is the entire information.php file that I have right now.

    ##############################


    <?php
    /**
    * information sidebox - displays list of general info links, as defined in this file
    *
    * @package templateSystem
    * @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: information.php 4132 2006-08-14 00:36:39Z drbyte $
    */

    unset($information);

    if (DEFINE_SHIPPINGINFO_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</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);
    ?>


    ########################################___

    What can I do to make the email form appear?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: contact us does not show up on information sidebox

    What is the status (0 or 1) in
    admin > config > define page status > contact us >??
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Dec 2010
    Posts
    22
    Plugin Contributions
    0

    Default Re: contact us does not show up on information sidebox

    I fixed the status and it worked.

    Thanks!

 

 

Similar Threads

  1. v155 Manually added page_5 does not show content but does in admin
    By oavs in forum General Questions
    Replies: 2
    Last Post: 10 Jun 2016, 08:43 AM
  2. Contact Us page does not show after copying/moving site
    By giftmeister in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 Oct 2010, 02:49 PM
  3. Document sidebox does not show categories
    By DesiredUserName in forum General Questions
    Replies: 0
    Last Post: 22 Mar 2010, 12:44 AM
  4. Contact us in Information sidebox
    By sharemind in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Jul 2006, 05:53 PM

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