Michelle3 Posted June 13, 2005 Posted June 13, 2005 I really hope this hasn't been a topic before but I couldn' t find anything. I am very new to this and totally confused. I have a bunch of stuff on my store front and I need to be able to delete it but don't know how. I don't understand the directions they have on the storefront as to how to delete it. Any help in lamemans terms would be great. Thanks so much!!
♥14steve14 Posted June 13, 2005 Posted June 13, 2005 I really hope this hasn't been a topic before but I couldn' t find anything. I am very new to this and totally confused. I have a bunch of stuff on my store front and I need to be able to delete it but don't know how. I don't understand the directions they have on the storefront as to how to delete it. Any help in lamemans terms would be great. Thanks so much!! <{POST_SNAPBACK}> Which instructions on the index page do you not understand? The warning mesages at the top of the page, and how to alter the index page, have been dealt with numerous times in these forums, so the answers should be easy to find. Do a search for the seperate items you wish to know, and you should find the answers. Most of them wil be in the installatiion and setup area of the forum. Failing that post them here, and you may get help. REMEMBER BACKUP, BACKUP AND BACKUP
Simplyeasier Posted June 13, 2005 Posted June 13, 2005 I really hope this hasn't been a topic before but I couldn' t find anything. I am very new to this and totally confused. I have a bunch of stuff on my store front and I need to be able to delete it but don't know how. I don't understand the directions they have on the storefront as to how to delete it. Any help in lamemans terms would be great. Thanks so much!! <{POST_SNAPBACK}> If you are asking about the preloaded products etc - you can delete them via the admin function of your store - or thro a direct deletion on the database. Charles A kite flies highest AGAINST the wind ! "Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"
Guest Posted June 13, 2005 Posted June 13, 2005 I really hope this hasn't been a topic before but I couldn' t find anything. I am very new to this and totally confused. I have a bunch of stuff on my store front and I need to be able to delete it but don't know how. I don't understand the directions they have on the storefront as to how to delete it. Any help in lamemans terms would be great. Thanks so much!! <{POST_SNAPBACK}> Check out this book, I here it's preety good for newbies: http://www.amazon.com/exec/obidos/redirect...ooks%26n=507846
Michelle3 Posted June 13, 2005 Author Posted June 13, 2005 That looks like a great book, I will have to check it out but for now I really need to get my store up and running. Help!!! I have been searching the board and found out a few things I could do but not all. This is my site: http://www.beyondpaper.net/store/ I can't figure out how to get rid of: This is a default setup of the osCommerce project, products shown are for demonstrational purposes, any products purchased will not be delivered nor will the customer be billed. Any information seen on these products is to be treated as fictional. Error Messages If there are any error or warning messages shown above, please correct them first before proceeding. Error messages are displayed at the very top of the page with a complete background color. Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file. Editing Page Texts The text shown here can be modified in the following file, on each language basis: [path to catalog]/includes/languages/english/index.php That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules. The text is set in the following manner: define('TEXT_MAIN', 'This is a default setup of the osCommerce project...'); The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist: define('TEXT_MAIN', ''); More information concerning the PHP define() function can be read here. Securing The Administration Tool It is important to secure the Administration Tool as there is currently no security implementation available. Online Documentation Online documentation can be read at the osCommerce Wiki Documentation Effort site. Community support is available at the osCommerce Community Support Forums site. If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the support site of osCommerce. This shop is running on osCommerce version osCommerce 2.2-MS2 I also can't figure out how to change the little blue boxes you see on the site. Please help :( :'( :'( :'(
chrisr63 Posted June 13, 2005 Posted June 13, 2005 That looks like a great book, I will have to check it out but for now I really need to get my store up and running. Help!!! I have been searching the board and found out a few things I could do but not all. This is my site: http://www.beyondpaper.net/store/ I can't figure out how to get rid of: This is a default setup of the osCommerce project, products shown are for demonstrational purposes, any products purchased will not be delivered nor will the customer be billed. Any information seen on these products is to be treated as fictional. Error Messages If there are any error or warning messages shown above, please correct them first before proceeding. Error messages are displayed at the very top of the page with a complete background color. Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file. Editing Page Texts The text shown here can be modified in the following file, on each language basis: [path to catalog]/includes/languages/english/index.php That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules. The text is set in the following manner: define('TEXT_MAIN', 'This is a default setup of the osCommerce project...'); The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist: define('TEXT_MAIN', ''); More information concerning the PHP define() function can be read here. Securing The Administration Tool It is important to secure the Administration Tool as there is currently no security implementation available. Online Documentation Online documentation can be read at the osCommerce Wiki Documentation Effort site. Community support is available at the osCommerce Community Support Forums site. If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the support site of osCommerce. This shop is running on osCommerce version osCommerce 2.2-MS2 I also can't figure out how to change the little blue boxes you see on the site. Please help :( :'( :'( :'( <{POST_SNAPBACK}> You need to edit /includes/languages/english/index.php
Michelle3 Posted June 13, 2005 Author Posted June 13, 2005 ok, I found it :lol: So do I just delete all the extra stuff or is there only certain things I should take out? Thank you so very very much!!!!
chrisr63 Posted June 13, 2005 Posted June 13, 2005 ok, I found it :lol: So do I just delete all the extra stuff or is there only certain things I should take out? Thank you so very very much!!!! <{POST_SNAPBACK}> You have to find the line define('TEXT_MAIN', 'This is a default setup of the osCommerce project...'); and then you can edit/delete everything between the ' marks leave the surrounding code in - define('TEXT_MAIN', 'edit or delete this bit'); Hope this helps
Michelle3 Posted June 13, 2005 Author Posted June 13, 2005 Ok I really appreciate this!!! This is what the page says now: Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/scrap4/public_html/store/includes/languages/english/index.php on line 33 This is how I edited it: <?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', '<br><p><font size="2">We are happy to have you join us. Please let us know if there are any products you are looking for.<p><b><font color="red">A few important things to remember while shopping at BeyondPaper.....</font color></b><br><br>You <b><font color="black">MUST</font color></b> click the continue button after paying using PayPal to be brought back to the site. If you do not click continue, I will have no record of your transaction. After your transaction you should be brought to an Order Confirmation Page, which will let you know that we recieved your order.<p><p align="center"><font size="1">*Please note, there is a minimum order of $5.00*<br>'); 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', 'Products in this category...'); 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', 'Welcome to the Scrapendous Shop....'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?>
niknakgroup Posted June 13, 2005 Posted June 13, 2005 define('TEXT_MAIN', '<br><p><font size="2">We are happy to have you join us. Please let us know if there are any products you are looking for.<p><b><font color="red">A few important things to remember while shopping at BeyondPaper.....</font color></b><br><br>You <b><font color="black">MUST</font color></b> click the continue button after paying using PayPal to be brought back to the site. If you do not click continue, I will have no record of your transaction. After your transaction you should be brought to an Order Confirmation Page, which will let you know that we recieved your order.<p><p align="center"><font size="1">*Please note, there is a minimum order of $5.00*<br>'); Try this: define('TEXT_MAIN', '<br><p><font size=/"2/">We are happy to have you join us. Please let us know if there are any products you are looking for.<p><b><font color=/"red/">A few important things to remember while shopping at BeyondPaper.....</font color></b><br><br>You <b><font color=/"black/">MUST</font color></b> click the continue button after paying using PayPal to be brought back to the site. If you do not click continue, I will have no record of your transaction. After your transaction you should be brought to an Order Confirmation Page, which will let you know that we recieved your order.<p><p align=/"center/"><font size=/"1/">*Please note, there is a minimum order of $5.00*<br>'); Basically, the info on your home page is being pulled from between the two '' after TEXT_MAIN', and every time you use certain characters, the code gets confused. By adding the / infront of those characters, you are telling the code that this is a text character, not coding. The main problem in your text is the inverted commas ("). I think this is correct, try it and see..... Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem.... Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums..... if (stumped == true) { return(square_one($start_over) } else { $random_query = tep_fetch_answer($forum_query) }
Michelle3 Posted June 13, 2005 Author Posted June 13, 2005 Ok, now this is what it said: Parse error: parse error, unexpected T_STRING in /home/scrap4/public_html/store/includes/languages/english/index.php on line 34
niknakgroup Posted June 13, 2005 Posted June 13, 2005 define('TEXT_MAIN', '<br><p><font size=/"2/">We are happy to have you join us. Please let us know if there are any products you are looking for.<p><b><font color=/"red/">A few important things to remember while shopping at BeyondPaper.....</font color></b><br><br>You <b><font color=/"black/">MUST</font color></b> click the continue button after paying using PayPal to be brought back to the site. If you do not click continue, I will have no record of your transaction. After your transaction you should be brought to an Order Confirmation Page, which will let you know that we recieved your order.<p><p align=/"center/"><font size=/"1/">/*Please note, there is a minimum order of $5.00/*<br>'); Try that one - sorry I forgot to put the / before your * marks! Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem.... Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums..... if (stumped == true) { return(square_one($start_over) } else { $random_query = tep_fetch_answer($forum_query) }
Michelle3 Posted June 13, 2005 Author Posted June 13, 2005 Now it says: Parse error: parse error, unexpected T_STRING in /home/scrap4/public_html/store/includes/languages/english/index.php on line 35
Wendy James Posted June 14, 2005 Posted June 14, 2005 Do not use the file manager (if you are) there are bugs and it can mess up the code try this <?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', '<br><p><font size="2">We are happy to have you join us. Please let us know if there are any products you are looking for.<p><b><font color="red">A few important things to remember while shopping at BeyondPaper.....</font color></b><br><br>You <b><font color="black">MUST</font color></b> click the continue button after paying using PayPal to be brought back to the site. If you do not click continue, I will have no record of your transaction. After your transaction you should be brought to an Order Confirmation Page, which will let you know that we recieved your order.<p><p align="center"><font size="1">*Please note, there is a minimum order of $5.00*<br>'); 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', 'Products in this category...'); 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', 'Welcome to the Scrapendous Shop....'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?> Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Michelle3 Posted June 14, 2005 Author Posted June 14, 2005 what do you mean the file manager? Is that through the control panel? If so where do I go to edit it then?
Wendy James Posted June 14, 2005 Posted June 14, 2005 File manager that comes with oscommerce. Not sure about one that may come with your host. Normally I suggest getting an ftp program and an editer... even notepad will work but there are editers that will recognise php (you can get them for free if you search on the web). Download the page you want to edit, edit it then reupload it to your server. Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Michelle3 Posted June 14, 2005 Author Posted June 14, 2005 I don't know how to do the ftp. If I do it in notepad can I just save it then upload it to the control panel?
Michelle3 Posted June 14, 2005 Author Posted June 14, 2005 I am so sorry to keep asking these stupid questions, This is so frustrating. :'( I guess I didn't realize it would be so complicated. :'(
Wendy James Posted June 14, 2005 Posted June 14, 2005 If you use notepad to edit your files, you will still need an ftp program to download the file (so you can edit it) and upload the file (once you have made the changes). Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Michelle3 Posted June 14, 2005 Author Posted June 14, 2005 So basically the only way I can edit this is through ftp? I was told by my host that I didn't nee ftp to edit it. :o
chrisr63 Posted June 14, 2005 Posted June 14, 2005 So basically the only way I can edit this is through ftp? I was told by my host that I didn't nee ftp to edit it. :o <{POST_SNAPBACK}> I use SmartFTP - it's simple to use and free! You can get it here Hope this helps :rolleyes:
Michelle3 Posted June 14, 2005 Author Posted June 14, 2005 Thanks Chris!!! Is there somewhere I can go to find out how to run it now. Or could you explain what I do now? Michelle
Michelle3 Posted June 14, 2005 Author Posted June 14, 2005 Ok, I figured out FTP and I uploaded it to my site and it is still saying: Parse error: parse error, unexpected T_STRING in /home/scrap4/public_html/store/index.php on line 34 Help I am clueless what to do. :'(
Michelle3 Posted June 14, 2005 Author Posted June 14, 2005 Is there any way I can get a copy of what it said before I started editing it and then start all over? I didn't back it up before I did this. Or is there a way to just reinstall it? Please help I am at a loss here and going on three days of trying to fix this.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.