Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

why no new box ?


Guest

Recommended Posts

Need to know why the left box is not showing up, here are the files I changed, english.php, made new listing, off site information:

 

<?php

/*

$Id: english.php,v 1.3 2003/02/15 21:26:45 wilt Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

// look in your $PATH_LOCALE/locale directory for available locales..

// on RedHat try 'en_US'

// on FreeBSD try 'en_US.ISO_8859-1'

// on Windows try 'en', or 'English'

setlocale(LC_TIME, 'en_US.ISO_8859-1');

define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()

define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()

define('DATE_FORMAT', 'm/d/Y'); // this is used for date()

define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');

 

////

// Return date in raw format

// $date should be in format mm/dd/yyyy

// raw date is in format YYYYMMDD, or DDMMYYYY

function tep_date_raw($date, $reverse = false) {

if ($reverse) {

return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);

} else {

return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);

}

}

 

// if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language)

define('LANGUAGE_CURRENCY', 'USD');

 

// Global entries for the <html> tag

define('HTML_PARAMS','dir="LTR" lang="en"');

 

// charset for web pages and emails

define('CHARSET', 'iso-8859-1');

 

// page title

define('TITLE', 'osCommerce');

 

// header text in includes/header.php

define('HEADER_TITLE_CREATE_ACCOUNT', 'Create an Profile');

define('HEADER_TITLE_MY_ACCOUNT', 'My Profile');

define('HEADER_TITLE_CART_CONTENTS', 'Cart Contents');

define('HEADER_TITLE_CHECKOUT', 'Checkout');

define('HEADER_TITLE_CONTACT_US', 'Contact Gateway4Gifts');

define('HEADER_TITLE_TOP', 'Enterance Page');

define('HEADER_TITLE_CATALOG', 'Catalog');

define('HEADER_TITLE_LOGOFF', 'Log Off');

define('HEADER_TITLE_LOGIN', 'Log In');

 

// footer text in includes/footer.php

define('FOOTER_TEXT_REQUESTS_SINCE', 'requests since');

 

// text for gender

define('MALE', 'Male');

define('FEMALE', 'Female');

define('MALE_ADDRESS', 'Mr.');

define('FEMALE_ADDRESS', 'Ms.');

 

// text for date of birth example

define('DOB_FORMAT_STRING', 'mm/dd/yyyy');

 

// categories box text in includes/boxes/categories.php

define('BOX_HEADING_CATEGORIES', 'Categories');

 

// manufacturers box text in includes/boxes/manufacturers.php

define('BOX_HEADING_MANUFACTURERS', 'Manufacturers');

 

// whats_new box text in includes/boxes/whats_new.php

define('BOX_HEADING_WHATS_NEW', 'What's New?');

 

// quick_find box text in includes/boxes/quick_find.php

define('BOX_HEADING_SEARCH', 'Quick Find');

define('BOX_SEARCH_TEXT', 'Use keywords to find the product you are looking for.');

define('BOX_SEARCH_ADVANCED_SEARCH', 'Advanced Search');

 

// specials box text in includes/boxes/specials.php

define('BOX_HEADING_SPECIALS', 'Specials');

 

// reviews box text in includes/boxes/reviews.php

define('BOX_HEADING_REVIEWS', 'Reviews');

define('BOX_REVIEWS_WRITE_REVIEW', 'Write a review on this product!');

define('BOX_REVIEWS_NO_REVIEWS', 'There are currently no product reviews');

define('BOX_REVIEWS_TEXT_OF_5_STARS', '%s of 5 Stars!');

 

// shopping_cart box text in includes/boxes/shopping_cart.php

define('BOX_HEADING_SHOPPING_CART', 'Shopping Cart');

define('BOX_SHOPPING_CART_EMPTY', '0 items');

 

// order_history box text in includes/boxes/order_history.php

define('BOX_HEADING_CUSTOMER_ORDERS', 'Order History');

 

// best_sellers box text in includes/boxes/best_sellers.php

define('BOX_HEADING_BESTSELLERS', 'Bestsellers');

define('BOX_HEADING_BESTSELLERS_IN', 'Bestsellers in<br> ');

 

// notifications box text in includes/boxes/products_notifications.php

define('BOX_HEADING_NOTIFICATIONS', 'Notifications');

define('BOX_NOTIFICATIONS_NOTIFY', 'Notify me of updates to <b>%s</b>');

define('BOX_NOTIFICATIONS_NOTIFY_REMOVE', 'Do not notify me of updates to <b>%s</b>');

 

// manufacturer box text

define('BOX_HEADING_MANUFACTURER_INFO', 'Manufacturer Info');

define('BOX_MANUFACTURER_INFO_HOMEPAGE', '%s Homepage');

define('BOX_MANUFACTURER_INFO_OTHER_PRODUCTS', 'Other products');

 

// languages box text in includes/boxes/languages.php

define('BOX_HEADING_LANGUAGES', 'Languages');

 

// login box text in includes/boxes/loginbox.php

define('BOX_LOGINBOX_HEADING', 'Login Here');

define('BOX_LOGINBOX_EMAIL', 'E-Mail Address:');

define('BOX_LOGINBOX_PASSWORD', 'Password:');

define('IMAGE_BUTTON_LOGIN', 'Login');

define('IMAGE_BUTTON_PASSWORD_FORGOTTEN', 'Password Forgotten');

 

// currencies box text in includes/boxes/currencies.php

define('BOX_HEADING_CURRENCIES', 'Currencies');

 

//off_site_information box text in includes/boxes/off_site_information.php

define('BOX_HEADING_OFF_SITE_INFORMATION', 'Off Site Information');

define('BOX_INFORMATION_BIRD_GARDEN', 'Bird & Garden Info');

define('BOX_INFORMATION_CARDS_POETRY', 'Cards & Poetry');

define('BOX_INFORMATION_DATING_HEALTH', 'Dating & Kids Health');

define('BOX_INFORMATION_KIDS_FUN', 'Kids Fun Sites');

define('BOX_INFORMATION_RECIPES', 'Recipe Sites');

define('BOX_INFORMATION_RELIGIOUS', 'Religious Sites');

define('BOX_INFORMATION_TEXT', 'Other Shopping Sites');

 

// information box text in includes/boxes/information.php

define('BOX_HEADING_INFORMATION', 'Information');

define('BOX_INFORMATION_PRIVACY', 'Privacy Notice');

define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use');

define('BOX_INFORMATION_OUR_PRODUCT_INFO', 'Product Information');

define('BOX_INFORMATION_CHURCH_SHARE_PROGRAM', 'Church Share Program');

define('BOX_INFORMATION_SCHOOL_SHARE_PROGRAM', 'School Share Program');

define('BOX_INFORMATION_SHARE_PROGRAM_EMAIL', 'Share Program Email');

define('BOX_INFORMATION_OFF_LINE_ORDER', 'Off Line Ordering');

define('BOX_INFORMATION_OUTREACH_PAGE', 'Outreach Page & E-mail');

define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns');

define('BOX_INFORMATION_CONTACT', 'Contact Gateway4Gifts');

 

// tell a friend box text in includes/boxes/tell_a_friend.php

define('BOX_HEADING_TELL_A_FRIEND', 'Tell A Friend');

define('BOX_TELL_A_FRIEND_TEXT', 'Tell someone you know about this product.');

 

// checkout procedure text

define('CHECKOUT_BAR_DELIVERY', 'Delivery Information');

define('CHECKOUT_BAR_PAYMENT', 'Payment Information');

define('CHECKOUT_BAR_CONFIRMATION', 'Confirmation');

define('CHECKOUT_BAR_FINISHED', 'Finished!');

 

// pull down default text

define('PULL_DOWN_DEFAULT', 'Please Select');

define('TYPE_BELOW', 'Type Below');

 

// javascript messages

define('JS_ERROR', 'Errors have occured during the process of your form!nPlease make the following corrections:nn');

 

define('JS_REVIEW_TEXT', '* The 'Review Text' must have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.n');

define('JS_REVIEW_RATING', '* You must rate the product for your review.n');

 

define('JS_GENDER', '* The 'Gender' value must be chosen.n');

define('JS_FIRST_NAME', '* The 'First Name' entry must have at least ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' characters.n');

define('JS_LAST_NAME', '* The 'Last Name' entry must have at least ' . ENTRY_LAST_NAME_MIN_LENGTH . ' characters.n');

define('JS_DOB', '* The 'Date of Birth' entry must be in the format: xx/xx/xxxx (month/day/year).n');

define('JS_EMAIL_ADDRESS', '* The 'E-Mail Address' entry must have at least ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' characters.n');

define('JS_ADDRESS', '* The 'Street Address' entry must have at least ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' characters.n');

define('JS_POST_CODE', '* The 'Post Code' entry must have at least ' . ENTRY_POSTCODE_MIN_LENGTH . ' characters.n');

define('JS_CITY', '* The 'City' entry must have at least ' . ENTRY_CITY_MIN_LENGTH . ' characters.n');

define('JS_STATE', '* The 'State' entry must be selected.n');

define('JS_STATE_SELECT', '-- Select Above --');

define('JS_ZONE', '* The 'State' entry must be selected from the list for this country.n');

define('JS_COUNTRY', '* The 'Country' entry must be selected.n');

define('JS_TELEPHONE', '* The 'Telephone Number' entry must have at least ' . ENTRY_TELEPHONE_MIN_LENGTH . ' characters.n');

define('JS_PASSWORD', '* The 'Password' and 'Confirmation' entries must match and have at least ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.n');

 

define('JS_ERROR_NO_PAYMENT_MODULE_SELECTED', '* Please select a payment method for your order.n');

define('JS_ERROR_SUBMITTED', 'This form has already been submitted. Please press Ok and wait for this process to be completed.');

 

define('ERROR_NO_PAYMENT_MODULE_SELECTED', 'Please select a payment method for your order.');

 

define('CATEGORY_COMPANY', 'Company Details');

define('CATEGORY_PERSONAL', 'Your Personal Details');

define('CATEGORY_ADDRESS', 'Your Address');

define('CATEGORY_CONTACT', 'Your Contact Information');

define('CATEGORY_OPTIONS', 'Options');

define('CATEGORY_PASSWORD', 'Your Password');

define('ENTRY_COMPANY', 'Company Name:');

define('ENTRY_COMPANY_ERROR', '');

define('ENTRY_COMPANY_TEXT', '');

define('ENTRY_GENDER', 'Gender:');

define('ENTRY_GENDER_ERROR', ' <small><font color="#AABBDD">required</font></small>');

define('ENTRY_GENDER_TEXT', ' <small><font color="#AABBDD">required</font></small>');

define('ENTRY_FIRST_NAME', 'First Name:');

define('ENTRY_FIRST_NAME_ERROR', ' <small><font color="#FF0000">min ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' chars</font></small>');

define('ENTRY_FIRST_NAME_TEXT', ' <small><font color="#AABBDD">required</font></small>');

define('ENTRY_LAST_NAME', 'Last Name:');

define('ENTRY_LAST_NAME_ERROR', ' <small><font color="#FF0000">min ' . ENTRY_LAST_NAME_MIN_LENGTH . ' chars</font></small>');

define('ENTRY_LAST_NAME_TEXT', ' <small><font color="#AABBDD">required</font></small>');

define('ENTRY_DATE_OF_BIRTH', 'Date of Birth:');

define('ENTRY_DATE_OF_BIRTH_ERROR', ' <small><font color="#FF0000">(eg. 05/21/1970)</font></small>');

define('ENTRY_DATE_OF_BIRTH_TEXT', ' <small>(eg. 05/21/1970) <font color="#AABBDD">required</font></small>');

define('ENTRY_EMAIL_ADDRESS', 'E-Mail Address:');

define('ENTRY_EMAIL_ADDRESS_ERROR', ' <small><font color="#FF0000">min ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' chars</font></small>');

define('ENTRY_EMAIL_ADDRESS_CHECK_ERROR', ' <small><font color="#FF0000">Your email address doesn't appear to be valid!</font></small>');

define('ENTRY_EMAIL_ADDRESS_ERROR_EXISTS', ' <small><font color="#FF0000">email address already exists!</font></small>');

define('ENTRY_EMAIL_ADDRESS_TEXT', ' <small><font color="#AABBDD">required</font></small>');

define('ENTRY_STREET_ADDRESS', 'Street Address:');

define('ENTRY_STREET_ADDRESS_ERROR', ' <small><font color="#FF0000">min ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' chars</font></small>');

define('ENTRY_STREET_ADDRESS_TEXT', ' <small><font color="#AABBDD">required</font></small>');

define('ENTRY_SUBURB', 'Suburb:');

define('ENTRY_SUBURB_ERROR', '');

define('ENTRY_SUBURB_TEXT', '');

define('ENTRY_POST_CODE', 'Post Code:');

define('ENTRY_POST_CODE_ERROR', ' <small><font color="#FF0000">min ' . ENTRY_POSTCODE_MIN_LENGTH . ' chars</font></small>');

define('ENTRY_POST_CODE_TEXT', ' <small><font color="#AABBDD">required</font></small>');

define('ENTRY_CITY', 'City:');

define('ENTRY_CITY_ERROR', ' <small><font color="#FF0000">min ' . ENTRY_CITY_MIN_LENGTH . ' chars</font></small>');

define('ENTRY_CITY_TEXT', ' <small><font color="#AABBDD">required</font></small>');

define('ENTRY_STATE', 'State/Province:');

define('ENTRY_STATE_ERROR', ' <small><font color="#FF0000">required</font></small>');

define('ENTRY_STATE_TEXT', ' <small><font color="#AABBDD">required</font></small>');

define('ENTRY_COUNTRY', 'Country:');

define('ENTRY_COUNTRY_ERROR', '');

define('ENTRY_COUNTRY_TEXT', ' <small><font color="#AABBDD">required</font></small>');

define('ENTRY_TELEPHONE_NUMBER', 'Telephone Number:');

define('ENTRY_TELEPHONE_NUMBER_ERROR', ' <small><font color="#FF0000">min ' . ENTRY_TELEPHONE_MIN_LENGTH . ' chars</font></small>');

define('ENTRY_TELEPHONE_NUMBER_TEXT', ' <small><font color="#AABBDD">required</font></small>');

define('ENTRY_FAX_NUMBER', 'Fax Number:');

define('ENTRY_FAX_NUMBER_ERROR', '');

define('ENTRY_FAX_NUMBER_TEXT', '');

define('ENTRY_NEWSLETTER', 'Newsletter:');

define('ENTRY_NEWSLETTER_TEXT', '');

define('ENTRY_NEWSLETTER_YES', 'Subscribed');

define('ENTRY_NEWSLETTER_NO', 'Unsubscribed');

define('ENTRY_NEWSLETTER_ERROR', '');

define('ENTRY_PASSWORD', 'Password:');

define('ENTRY_PASSWORD_CONFIRMATION', 'Password Confirmation:');

define('ENTRY_PASSWORD_CONFIRMATION_TEXT', ' <small><font color="#AABBDD">required</font></small>');

define('ENTRY_PASSWORD_ERROR', ' <small><font color="#FF0000">min ' . ENTRY_PASSWORD_MIN_LENGTH . ' chars</font></small>');

define('ENTRY_PASSWORD_TEXT', ' <small><font color="#AABBDD">required</font></small>');

define('PASSWORD_HIDDEN', '--HIDDEN--');

 

// constants for use in tep_prev_next_display function

define('TEXT_RESULT_PAGE', 'Result Pages:');

define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> products)');

define('TEXT_DISPLAY_NUMBER_OF_ORDERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> orders)');

define('TEXT_DISPLAY_NUMBER_OF_REVIEWS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> reviews)');

define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS_NEW', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> new products)');

define('TEXT_DISPLAY_NUMBER_OF_SPECIALS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> specials)');

 

define('PREVNEXT_TITLE_FIRST_PAGE', 'First Page');

define('PREVNEXT_TITLE_PREVIOUS_PAGE', 'Previous Page');

define('PREVNEXT_TITLE_NEXT_PAGE', 'Next Page');

define('PREVNEXT_TITLE_LAST_PAGE', 'Last Page');

define('PREVNEXT_TITLE_PAGE_NO', 'Page %d');

define('PREVNEXT_TITLE_PREV_SET_OF_NO_PAGE', 'Previous Set of %d Pages');

define('PREVNEXT_TITLE_NEXT_SET_OF_NO_PAGE', 'Next Set of %d Pages');

define('PREVNEXT_BUTTON_FIRST', '<<FIRST');

define('PREVNEXT_BUTTON_PREV', '[<< Prev]');

define('PREVNEXT_BUTTON_NEXT', '[Next >>]');

define('PREVNEXT_BUTTON_LAST', 'LAST>>');

 

define('IMAGE_BUTTON_ADD_ADDRESS', 'Add Address');

define('IMAGE_BUTTON_ADDRESS_BOOK', 'Address Book');

define('IMAGE_BUTTON_BACK', 'Back');

define('IMAGE_BUTTON_CHANGE_ADDRESS', 'Change Address');

define('IMAGE_BUTTON_CHECKOUT', 'Checkout');

define('IMAGE_BUTTON_CONFIRM_ORDER', 'Confirm Order');

define('IMAGE_BUTTON_CONTINUE', 'Continue');

define('IMAGE_BUTTON_CONTINUE_SHOPPING', 'Continue Shopping');

define('IMAGE_BUTTON_DELETE', 'Delete');

define('IMAGE_BUTTON_EDIT_ACCOUNT', 'Edit Account');

define('IMAGE_BUTTON_HISTORY', 'Order History');

define('IMAGE_BUTTON_LOGIN', 'Login');

define('IMAGE_BUTTON_IN_CART', 'In Cart');

define('IMAGE_BUTTON_NOTIFICATIONS', 'Notifications');

define('IMAGE_BUTTON_QUICK_FIND', 'Quick Find');

define('IMAGE_BUTTON_REMOVE_NOTIFICATIONS', 'Remove Notifications');

define('IMAGE_BUTTON_REVIEWS', 'Reviews');

define('IMAGE_BUTTON_SEARCH', 'Search');

define('IMAGE_BUTTON_SHIPPING_OPTIONS', 'Shipping Options');

define('IMAGE_BUTTON_TELL_A_FRIEND', 'Tell a Friend');

define('IMAGE_BUTTON_UPDATE', 'Update');

define('IMAGE_BUTTON_UPDATE_CART', 'Update Cart');

define('IMAGE_BUTTON_WRITE_REVIEW', 'Write Review');

 

define('ICON_ARROW_RIGHT', 'more');

define('ICON_CART', 'In Cart');

define('ICON_WARNING', 'Warning');

 

define('TEXT_SORT_PRODUCTS', 'Sort products ');

define('TEXT_DESCENDINGLY', 'descendingly');

define('TEXT_ASCENDINGLY', 'ascendingly');

define('TEXT_BY', ' by ');

 

define('TEXT_REVIEW_BY', 'by %s');

define('TEXT_REVIEW_WORD_COUNT', '%s words');

define('TEXT_REVIEW_RATING', 'Rating: %s [%s]');

define('TEXT_REVIEW_DATE_ADDED', 'Date Added: %s');

define('TEXT_NO_REVIEWS', 'There are currently no product reviews.');

 

define('TEXT_NO_NEW_PRODUCTS', 'There are currently no products.');

 

define('TEXT_UNKNOWN_TAX_RATE', 'Unknown tax rate');

 

define('ERROR_TEP_MAIL', '<font face="Verdana, Arial" size="2" color="#ff0000"><b><small>TEP ERROR:</small> Cannot send the email through the specified SMTP server. Please check your php.ini setting and correct the SMTP server if necessary.</b></font>');

define('WARNING_INSTALL_DIRECTORY_EXISTS', 'Warning: Installation directory exists at: ' . dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install. Please remove this directory for security reasons.');

define('WARNING_CONFIG_FILE_WRITEABLE', 'Warning: I am able to write to the configuration file: ' . dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.');

define('WARNING_SESSION_DIRECTORY_NON_EXISTENT', 'Warning: The sessions directory does not exist: ' . tep_session_save_path() . '. Sessions will not work until this directory is created.');

define('WARNING_SESSION_DIRECTORY_NOT_WRITEABLE', 'Warning: I am not able to write to the sessions directory: ' . tep_session_save_path() . '. Sessions will not work until the right user permissions are set.');

define('WARNING_SESSION_AUTO_START', 'Warning: session.auto_start is enabled - please disable this php feature in php.ini and restart the web server.');

define('WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT', 'Warning: The downloadable products directory does not exist: ' . DIR_FS_DOWNLOAD . '. Downloadable products will not work until this directory is valid.');

 

define('TEXT_CCVAL_ERROR_INVALID_DATE', 'The expiry date entered for the credit card is invalid.<br>Please check the date and try again.');

define('TEXT_CCVAL_ERROR_INVALID_NUMBER', 'The credit card number entered is invalid.<br>Please check the number and try again.');

define('TEXT_CCVAL_ERROR_UNKNOWN_CARD', 'The first four digits of the number entered are: %s<br>If that number is correct, we do not accept that type of credit card.<br>If it is wrong, please try again.');

 

/*

The following copyright announcement can only be

appropriately modified or removed if the layout of

the site theme has been modified to distinguish

itself from the default osCommerce-copyrighted

theme.

 

For more information please read the following

Frequently Asked Questions entry on the osCommerce

support site:

 

http://www.oscommerce.com/community.php/faq,26/q,50

 

Please leave this comment intact together with the

following copyright announcement.

*/

define('FOOTER_TEXT_BODY', 'Copyright ? 2003 Gateway4Gifts<br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>');

require(DIR_WS_LANGUAGES . 'add_english.php');

define('TEXT_REQUIRED', 'Required');

?>

 

made new left coulmn.php added off site information

 

<?php

/*

$Id: column_left.php,v 1.1.1.1 2002/11/28 23:22:03 wilt Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

if ( (USE_CACHE == 'true') && !SID) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'categories.php');

}

 

// if ( (USE_CACHE == 'true') && !SID) {

// echo tep_cache_manufacturers_box();

// } else {

//include(DIR_WS_BOXES . 'manufacturers.php');

// }

 

require(DIR_WS_BOXES . 'search.php');

require(DIR_WS_BOXES . 'off_site_information.php');

require(DIR_WS_BOXES . 'reviews.php');

//require(DIR_WS_BOXES . 'information.php');

?>

 

made new page and loaded in boxes

 

<?php

/*

$Id: off_site_information.php,v 1.1.1.1 2002/11/28 23:22:25 wilt Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2001 osCommerce

 

Released under the GNU General Public License

*/

?>

<!-- off_site_information //-->

<tr>

<td>

<?php

$info_box_contents = array();

$info_box_contents[] = array('align' => 'left',

'text' => BOX_HEADING_OFF_SITE_INFORMATION

);

new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

$info_box_contents[] = array('align' => 'left',

'text' => '<a href="' . tep_href_link(FILENAME_BIRD_GARDEN, '', 'NONSSL') . '">' . BOX_INFORMATION_BIRD_GARDEN . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_CARDS_POETRY, '', 'NONSSL') . '">' . BOX_INFORMATION_CARDS_POETRY . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_DATING_HEALTH, '', 'NONSSL') . '">' . BOX_INFORMATION_DATING_HEALTH . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_RECIPES, '', 'NONSSL') . '">' . BOX_INFORMATION_RECIPES . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_RELIGIOUS, '', 'NONSSL') . '">' . BOX_INFORMATION_RELIGIOUS . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_KIDS_FUN, '', 'NONSSL') . '">' . BOX_INFORMATION_KIDS_FUN . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_OUTREACH_PAGE, '', 'NONSSL') . '">' . BOX_INFORMATION_OUTREACH_PAGE . '</a><br>'

'<a href="' . tep_href_link(FILENAME_TEXT, '', 'NONSSL') . '">' . BOX_INFORMATION_TEXT . '</a>');

new infoBox($info_box_contents);

?>

</td>

</tr>

<!-- off_site_information_eof //-->

 

pulled these link out of information box, and they still show up in information box

Link to comment
Share on other sites

Syntax error:

'<a href="' . tep_href_link(FILENAME_OUTREACH_PAGE, '', 'NONSSL') . '">' . BOX_INFORMATION_OUTREACH_PAGE . '</a><br>' 

'<a href="' . tep_href_link(FILENAME_TEXT, '', 'NONSSL') . '">' . BOX_INFORMATION_TEXT . '</a>');

missed dot between those two lines.

 

PS: Realtime syntax check really save time :)

There is always more than one way to do it.

And always Keep It Simple, Stupid.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...