Forums / General Questions / contact us does not show up on information sidebox

contact us does not show up on information sidebox

Started by milli on 21 Apr 2011, 4:15 AM · Views: 938

Results 1 to 3 of 3
21 Apr 2011, 4:15 AM
#1
milli avatar

milli

New Zenner

Join Date:
Dec 2010
Posts:
22
Plugin Contributions:
0

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?

21 Apr 2011, 7:50 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

22 Apr 2011, 9:28 PM
#3
milli avatar

milli

New Zenner

Join Date:
Dec 2010
Posts:
22
Plugin Contributions:
0

Re: contact us does not show up on information sidebox

I fixed the status and it worked.

Thanks!