denzel2364 Posted March 16, 2007 Posted March 16, 2007 how to delete pages oscommerce in the left hand column are things likle 'about us' 'conditions' 'support' etc now i want to delete the conditions page for example. whats the best way to do it and where do i change it?
denzel2364 Posted March 16, 2007 Author Posted March 16, 2007 how to delete pages oscommerce in the left hand column are things likle 'about us' 'conditions' 'support' etc now i want to delete the conditions page for example. whats the best way to do it and where do i change it? cracked it... information.php worked
mysticgifts2 Posted February 9, 2008 Posted February 9, 2008 cracked it... information.php worked Can someone please tell me where to find the above file? Thanks!!!
♥geoffreywalton Posted February 9, 2008 Posted February 9, 2008 This link should help you understand how to edit the contents of you left and right columns. If you want to know how to open and edit these files either search the forum cos it has been covered several hundred times or be slightly more specific in your questions Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
mysticgifts2 Posted February 9, 2008 Posted February 9, 2008 This link should help you understand how to edit the contents of you left and right columns. If you want to know how to open and edit these files either search the forum cos it has been covered several hundred times or be slightly more specific in your questions Sorry, I'm pretty new to all of this. I was just wondering where the file "information.php" would be located in my OS Commerce file manager. I was searching the archives when I found this post, looking under "Delete pages". Thanks, Debbie
mysticgifts2 Posted February 9, 2008 Posted February 9, 2008 Sorry, I'm pretty new to all of this. I was just wondering where the file "information.php" would be located in my OS Commerce file manager. I was searching the archives when I found this post, looking under "Delete pages". Thanks, Debbie Okay, found the file and followed instructions to delete link for my Newsletter page, but it still shows up. Can someone please help me to totally delete that page or at least the link to it? I've been scanning the archives on this board, but haven't been able to find any more information. Thanks so much!
germ Posted February 9, 2008 Posted February 9, 2008 Have you emptied your browser cache? If you hold the <Ctrl> key down while doing a "Page refresh", does it still show up? :unsure: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
germ Posted February 9, 2008 Posted February 9, 2008 Post the contents of your information.php file If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
mysticgifts2 Posted February 9, 2008 Posted February 9, 2008 Okay, here it is! Thank you!!!! <?php /* $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- information //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_ABOUTUS) . '">' . BOX_INFORMATION_ABOUTUS . '</a><br>' . '<a href="' . tep_href_link('forum.php', '', 'NONSSL') . '">' . BOX_INFORMATION_FORUM . '</a><br>' . '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_EXCHANGE_LINKS) . '">' . BOX_INFORMATION_EXCHANGE_LINKS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //-->
germ Posted February 9, 2008 Posted February 9, 2008 Okay, found the file and followed instructions to delete link for my Newsletter page, but it still shows up. Can someone please help me to totally delete that page or at least the link to it? I've been scanning the archives on this board, but haven't been able to find any more information. I don't have a "newsletter" page. Which one of those links would that be? :unsure: Maybe you're "barking up the wrong tree" (looking in the wrong file). Care to post (or PM) a link to your site? :unsure: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
germ Posted February 9, 2008 Posted February 9, 2008 Post the contents of this file from your site: /includes/boxes/information.php If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
mysticgifts2 Posted February 9, 2008 Posted February 9, 2008 okay. <?php /* $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- information //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_ABOUTUS) . '">' . BOX_INFORMATION_ABOUTUS . '</a><br>' . '<a href="' . tep_href_link('forum.php', '', 'NONSSL') . '">' . BOX_INFORMATION_FORUM . '</a><br>' . '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_EXCHANGE_LINKS) . '">' . BOX_INFORMATION_EXCHANGE_LINKS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //-->
germ Posted February 9, 2008 Posted February 9, 2008 How about what's in /includes/column_left.php? :unsure: What you have posted isn't what's showing up on your site. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
mysticgifts2 Posted February 9, 2008 Posted February 9, 2008 When i go to includes, there are the following file folders: Boxes, Classes, Functions, languages, local and modules. I can't find includes/column-left.php, though.
mysticgifts2 Posted February 9, 2008 Posted February 9, 2008 Found it! <?php /* $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_BOXES . 'information.php'); require(DIR_WS_BOXES . 'categories.php'); require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'whats_new.php'); ?>
germ Posted February 9, 2008 Posted February 9, 2008 OK when was the last time you changed the info in /includes/boxes/information.php, and saved it? :unsure: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
mysticgifts2 Posted February 9, 2008 Posted February 9, 2008 I changed it today after reading a post about deleting a link/category in the information box. It was saved, though, in October, 2007. This is what my saved copy looks like, before changes. <?php /* $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- information //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_ABOUTUS) . '">' . BOX_INFORMATION_ABOUTUS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_NEWS) . '">' . BOX_INFORMATION_NEWS . '</a><br>' . '<a href="' . tep_href_link('forum.php', '', 'NONSSL') . '">' . BOX_INFORMATION_FORUM . '</a><br>' . '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_EXCHANGE_LINKS) . '">' . BOX_INFORMATION_EXCHANGE_LINKS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //-->
germ Posted February 9, 2008 Posted February 9, 2008 Your server says it hasn't been change sincs Aug. of last year: Index of /includes/boxes Name Last modified Size Description -------------------------------------------------------------------------------- Parent Directory 01-Feb-2008 08:04 - best_sellers.php 10-Aug-2007 20:54 2k categories.php 10-Aug-2007 20:54 6k currencies.php 10-Aug-2007 20:54 2k error_log 09-Feb-2008 12:27 1k information.php 10-Aug-2007 20:54 2k manufacturer_info.php 10-Aug-2007 20:54 2k manufacturers.php 10-Aug-2007 20:54 3k order_history.php 10-Aug-2007 20:54 3k product_notification..> 10-Aug-2007 20:54 3k reviews.php 10-Aug-2007 20:54 3k search.php 10-Aug-2007 20:54 1k shopping_cart.php 10-Aug-2007 20:54 2k specials.php 10-Aug-2007 20:54 2k tell_a_friend.php 10-Aug-2007 20:54 1k whats_new.php 10-Aug-2007 20:54 2k I don't think you're working on the right file or it's not getting saved or you haven't uploaded the changed version to the right place on your server. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
mysticgifts2 Posted February 9, 2008 Posted February 9, 2008 Hmmm. Very strange. Is there any other way to just delete a page on my website?
germ Posted February 9, 2008 Posted February 9, 2008 Not without editing the code, Ma'am If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
germ Posted February 9, 2008 Posted February 9, 2008 What's in /includes/boxes/error_log? :unsure: Maybe that can tell you something. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
mysticgifts2 Posted February 9, 2008 Posted February 9, 2008 Is this the correct code to remove from my information.php file? '<a href="' . tep_href_link(FILENAME_NEWS) . '">' . BOX_INFORMATION_NEWS . '</a><br>' .
germ Posted February 9, 2008 Posted February 9, 2008 Yes, Ma'am If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
mysticgifts2 Posted February 9, 2008 Posted February 9, 2008 This is what's in /includes/boxes/error_log: 09-Feb-2008 12:27:52] PHP Fatal error: Cannot instantiate non-existent class: infoboxheading in /home/mysti43/public_html/includes/boxes/information.php on line 38
Recommended Posts
Archived
This topic is now archived and is closed to further replies.