charlieb in ct Posted March 16, 2007 Posted March 16, 2007 I'm just setting up oscommerce.... I have the words "What's New Here?" as the lead off on the page ... just above the 'welcome guest" stuff... I can't find the file to modify .. to either remove or change.. www.wecyclect.org/shop thanks Also- Can I increase the size of the type on the home page ? charlie
omar2886 Posted March 16, 2007 Posted March 16, 2007 All you are wanted to change is in the index.php inside the includes/language/english folder
charlieb in ct Posted March 16, 2007 Author Posted March 16, 2007 All you are wanted to change is in the index.php inside the includes/language/english folder couldn't find it in that index.php ... I did try to make a change with "//" to remove a line... but it caused the home page to go blank ... so I removed the "//".. but I must have accidentally hit something else and the home page still comes up blank... is there a place to go to get the original/default file so I can copy/paste that section? thanks this is a copy/paste of the file: <?php /* $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', 'The Central Connecticut Bicycle Alliance and its partners are planning the Discover Hartford Bicycle and Walking Tour on Saturday, September 8th. The tour will have 10 and 25-mile bicycling options, as well as a 2-hour walking tour. <P> The route, encompassing the entire city, will introduce the participants to places like the new indoor skating rink, major new commercial developments, arts venues, and historic places. <P> The purpose of the event is to have fun while showing off the improvements in infrastructure, community organizations, and investment that have brought Hartford an enviable quality of life. The tour will demonstrate that an increasingly improved bicycling and walking environment is critical to sustain and augment those improvements. <P> The CCBA is sponsoring the Discover Hartford Bicycle and Walking Tour because it believes by encouraging and developing alternative transportation modes the city will become a more viable and attractive place to live and visit. <P> Tour Route Map - MAP LINK (coming soon)'); 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') || (isset($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_CATEGORIES', 'All Categories'); define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'What's New Here?'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?> charlie
Bushmaster Posted March 17, 2007 Posted March 17, 2007 couldn't find it in that index.php ...I did try to make a change with "//" to remove a line... but it caused the home page to go blank ... so I removed the "//".. but I must have accidentally hit something else and the home page still comes up blank... is there a place to go to get the original/default file so I can copy/paste that section? thanks this is a copy/paste of the file: <?php /* $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', 'The Central Connecticut Bicycle Alliance and its partners are planning the Discover Hartford Bicycle and Walking Tour on Saturday, September 8th. The tour will have 10 and 25-mile bicycling options, as well as a 2-hour walking tour. <P> The route, encompassing the entire city, will introduce the participants to places like the new indoor skating rink, major new commercial developments, arts venues, and historic places. <P> The purpose of the event is to have fun while showing off the improvements in infrastructure, community organizations, and investment that have brought Hartford an enviable quality of life. The tour will demonstrate that an increasingly improved bicycling and walking environment is critical to sustain and augment those improvements. <P> The CCBA is sponsoring the Discover Hartford Bicycle and Walking Tour because it believes by encouraging and developing alternative transportation modes the city will become a more viable and attractive place to live and visit. <P> Tour Route Map - MAP LINK (coming soon)'); 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') || (isset($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_CATEGORIES', 'All Categories'); define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'What's New Here?');} elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?> charlie The line you need to change is in red. It looks ok I do not see any thing that would make it show up blank.
Bushmaster Posted March 17, 2007 Posted March 17, 2007 Did you change your shop/indes.php file by mistake?
charlieb in ct Posted March 17, 2007 Author Posted March 17, 2007 The line you need to change is in red. It looks ok I do not see any thing that would make it show up blank. thanks .... but I still have a blank page... the only difference I can find is this: define('HEADING_TITLE', 'Let's See What We Have Here'); this was in my httpdocs/shop folder... define('HEADING_TITLE', 'Let\'s See What We Have Here'); I tried to add the "\" .. but when I 'save' it goes away.. where do I get a "default" copy of languages/english/index.php ... I should be able to rebuild it fairly quickly as I just started configuring it. thanks
charlieb in ct Posted March 17, 2007 Author Posted March 17, 2007 thanks .... but I still have a blank page...the only difference I can find is this: define('HEADING_TITLE', 'Let's See What We Have Here'); this was in my httpdocs/shop folder... define('HEADING_TITLE', 'Let\'s See What We Have Here'); I tried to add the "\" .. but when I 'save' it goes away.. where do I get a "default" copy of languages/english/index.php ... I should be able to rebuild it fairly quickly as I just started configuring it. and yes I edited the file you recommended... not the one in the main folder. thanks
charlieb in ct Posted March 17, 2007 Author Posted March 17, 2007 I seem to be in big trouble... I was able to copy the language/english/index.php file from the "secure" folder over to the regular folder and I got my page to display again .. However, even the slightest change will cause it to go "blank" simply removing a single letter like the "T" in The ... save it and that will cause the home page to fail and display as a blank.. I have no idea what is going on ... in some of the documentation it shows how to add the "777" to be sure the file can be edited. My FTP program displays the owner,group, network rights ... but no place to put the "manual" 777. I have been able to edit these files so I assume that the files are writeable .. could this be my problem? thanks charlie
Bushmaster Posted March 19, 2007 Posted March 19, 2007 Set it to 644 and set your shop/includes/configure to 644 also. so the warning on your front page will go away. It looks as if you have been able to edit the page now from what I see.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.