safraz1
asked on
Can some one please look at this script and see where i went wrong .
please look at this and see where its going wrong. it was working but then i broke it. and i am a beginner.
<?php
/**
* @package languageDefines
* @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: index.php 6550 2007-07-05 03:54:54Z drbyte $
*/
define('TEXT_MAIN','This is the main define statement for the page for english when no template defined file exists. It is located in: <strong>/includes/language s/english/ index.php< /strong>') ;
// Showcase vs Store
if (STORE_STATUS == '0') {
define('TEXT_GREETING_GUES T', 'Welcome <span class="greetUser">Guest!</ span> Would you like to <a href="%s">log yourself in</a>?');
} else {
define('TEXT_GREETING_GUES T', 'Welcome, please enjoy our online showcase.');
}
define('TEXT_GREETING_PERS ONAL', 'Hello <span class="greetUser">%s</span >! Would you like to see our <a href="%s">newest additions</a>?');
define('TEXT_INFORMATION', 'Define your main Index page copy here.');
//moved to english
//define('TABLE_HEADING_FE ATURED_PRO DUCTS','Fe atured Products');
//define('TABLE_HEADING_NE W_PRODUCTS ', 'New Products For %s');
//define('TABLE_HEADING_UP COMING_PRO DUCTS', 'Upcoming Products');
//define('TABLE_HEADING_DA TE_EXPECTE D', 'Date Expected');
if ( ($category_depth == 'products') || (zen_check_url_get_terms() ) ) {
// This section deals with product-listing page contents
define('HEADING_TITLE', 'Available Products');
define('TABLE_HEADING_IMAG E', 'Product Image');
define('TABLE_HEADING_MODE L', 'Model');
define('TABLE_HEADING_PROD UCTS', 'Product Name');
define('TABLE_HEADING_MANU FACTURER', 'Manufacturer');
define('TABLE_HEADING_QUAN TITY', 'Quantity');
define('TABLE_HEADING_PRIC E', 'Price');
define('TABLE_HEADING_WEIG HT', '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_PRO DUCTS', 'Number of Products: ');
define('TEXT_SHOW', 'Filter Results by:');
define('TEXT_BUY', 'Buy 1 \'');
define('TEXT_NOW', '\' now');
define('TEXT_ALL_CATEGORIE S', 'All Categories');
define('TEXT_ALL_MANUFACTU RERS', 'All Manufacturers');
} elseif ($category_depth == 'top') {
// This section deals with the "home" page at the top level with no options/products selected
/*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
define('HEADING_TITLE','.' );
} elseif ($category_depth == 'nested') {
// This section deals with displaying a subcategory
//
define('HEADING_TITLE, Welcome to the world of fashion);
}
?>
<?php
/**
* @package languageDefines
* @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: index.php 6550 2007-07-05 03:54:54Z drbyte $
*/
define('TEXT_MAIN','This is the main define statement for the page for english when no template defined file exists. It is located in: <strong>/includes/language
// Showcase vs Store
if (STORE_STATUS == '0') {
define('TEXT_GREETING_GUES
} else {
define('TEXT_GREETING_GUES
}
define('TEXT_GREETING_PERS
define('TEXT_INFORMATION',
//moved to english
//define('TABLE_HEADING_FE
//define('TABLE_HEADING_NE
//define('TABLE_HEADING_UP
//define('TABLE_HEADING_DA
if ( ($category_depth == 'products') || (zen_check_url_get_terms()
// This section deals with product-listing page contents
define('HEADING_TITLE', 'Available Products');
define('TABLE_HEADING_IMAG
define('TABLE_HEADING_MODE
define('TABLE_HEADING_PROD
define('TABLE_HEADING_MANU
define('TABLE_HEADING_QUAN
define('TABLE_HEADING_PRIC
define('TABLE_HEADING_WEIG
define('TABLE_HEADING_BUY_
define('TEXT_NO_PRODUCTS',
define('TEXT_NO_PRODUCTS2'
define('TEXT_NUMBER_OF_PRO
define('TEXT_SHOW', 'Filter Results by:');
define('TEXT_BUY', 'Buy 1 \'');
define('TEXT_NOW', '\' now');
define('TEXT_ALL_CATEGORIE
define('TEXT_ALL_MANUFACTU
} elseif ($category_depth == 'top') {
// This section deals with the "home" page at the top level with no options/products selected
/*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
define('HEADING_TITLE','.'
} elseif ($category_depth == 'nested') {
// This section deals with displaying a subcategory
//
define('HEADING_TITLE, Welcome to the world of fashion);
}
?>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
correct. you do need each of them. I just caught that it was still open, but you do need to quote each section separately.
ASKER
ha yay thank you
define('HEADING_TITLE, Welcome to the world of fashion);
b like this with the 's included?:
define('HEADING_TITLE', 'Welcome to the world of fashion');