Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

default.php woes


2 replies to this topic

#1 andybh

  • Community Member
  • 40 posts
  • Real Name:andy

Posted 21 July 2003, 02:40

I am wondering if u can help me with something

I am working on default.php and stuffed something up.

This is what I ended up with:

<?php
/*
$Id: default.php,v 1.20 2003/02/14 12:51:58 dgw_ Exp $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright © 2003 osCommerce

Released under the GNU General Public License
*/

define('Welcome to Right Click Solutions', 'Our goal is your 100% satisfaction, every day. If you need help, we have trained, friendly agents standing by 24 hours a day, 7 days a week to take care of any problem you may have. Just call our hotline on (08)8088 6666 or mobile 0421 930 200.');
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

if ( ($category_depth == 'products') || ($HTTP_GET_VARS['manufacturers_id']) ) {
define('HEADING_TITLE', 'Let's See What We Have Here');
define('TABLE_HEADING_IMAGE', '');
define('TABLE_HEADING_MODEL', 'Model');
define('TABLE_HEADING_PRODUCTS', 'Product Name');
define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
define('TABLE_HEADING_QUANTITY', 'Quantity');
define('TABLE_HEADING_PRICE', 'Price');
define('TABLE_HEADING_WEIGHT', 'Weight');
define('TABLE_HEADING_BUY_NOW', 'Buy Now');
define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
define('TEXT_SHOW', '<b>Show:</b>');
define('TEXT_BUY', 'Buy 1 '');
define('TEXT_NOW', '' now');
define('TEXT_ALL', 'All');
} elseif ($category_depth == 'top') {
define('HEADING_TITLE', 'What's New Here?');
} elseif ($category_depth == 'nested') {
define('HEADING_TITLE', 'Categories');
}
?>


The error can be viewed at www.rightclicksolutions.biz/shop

What have i done???

Any help would be great

Andy

#2 iiinetworks

  • Community Member
  • 3,734 posts
  • Real Name:Matt

Posted 21 July 2003, 02:50

Quote

define('Welcome to Right Click Solutions', 'Our goal is your 100% satisfaction, every day. If you need help, we have trained, friendly agents standing by 24 hours a day, 7 days a week to take care of any problem you may have. Just call our hotline on (08)8088 6666 or mobile 0421 930 200.');
should be
define('TEXT_MAIN', 'Welcome to Right Click Solutions.  Our goal is your 100% satisfaction, every day. If you need help, we have trained, friendly agents standing by 24 hours a day, 7 days a week to take care of any problem you may have. Just call our hotline on (08)8088 6666 or mobile 0421 930 200.');
Were you asking about that? Or something else?

Wiki link for troubleshooting.

Good luck,
Matt

#3 andybh

  • Community Member
  • 40 posts
  • Real Name:andy

Posted 21 July 2003, 03:04

Thanks matt that worked well

I am learning something new everyday! :P

Good to see some people helping the beginners!

Andy
:D