Guest Posted July 8, 2009 Share Posted July 8, 2009 I have looked thru tons of postings on here trying to find the answer before I ask but I can't seem to find anything so I apologize in advance if this is something simple. I'm trying to remove the osCommerce Banner redirect and copyright text at the bottom which I already replaced on my index.php file with something else (and yes it includes the powered by oscommerce link). Can someone please give me some guidance? http://www.diamondmastersusacoins.com/shop...talog/index.php Link to comment Share on other sites More sharing options...
multimixer Posted July 8, 2009 Share Posted July 8, 2009 there is nothing to replace directly in index.php. I'm sorry to tell you, but looking at your site I believe that you are on the best way to screw up everything. Would be better to replace the original files and start from the beginning. Anyway, the osc copyright is in includes/languages/yourlanguage.php define('FOOTER_TEXT_BODY', 'Copyright © ' . date('Y') . ' <a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . STORE_NAME . '</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>'); My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
Guest Posted July 8, 2009 Share Posted July 8, 2009 Thanks, I misspoke, I actually put the code in the catalog/includes/footer.php NOT index.php Link to comment Share on other sites More sharing options...
Guest Posted July 8, 2009 Share Posted July 8, 2009 there is nothing to replace directly in index.php. I'm sorry to tell you, but looking at your site I believe that you are on the best way to screw up everything. Would be better to replace the original files and start from the beginning. Anyway, the osc copyright is in includes/languages/yourlanguage.php define('FOOTER_TEXT_BODY', 'Copyright © ' . date('Y') . ' <a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . STORE_NAME . '</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>'); I'm basically trying to mimic this site http://www.supreme-webhosting.co.uk/catalog/osc/index.php which leads me to believe this can be done...any thoughts and help would be appreciated! Thanks everyone Link to comment Share on other sites More sharing options...
burtonsnow8 Posted July 8, 2009 Share Posted July 8, 2009 I'm basically trying to mimic this site http://www.supreme-webhosting.co.uk/catalog/osc/index.php which leads me to believe this can be done...any thoughts and help would be appreciated!Thanks everyone Remove this from footer.php <table border="0" width="100%" cellspacing="0" cellpadding="1" bgcolor="#FFFFFF"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> </tr> </table> <br> <table border="0" width="100%" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td> </tr> </table> <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <br> <table border="0" bgcolor="#FFFFFF" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </tr> </table> PLEASE PLEASE PLEASE this is only a suggestion....make a backup of any changes before they are made. Link to comment Share on other sites More sharing options...
Guest Posted July 8, 2009 Share Posted July 8, 2009 Remove this from footer.php <table border="0" width="100%" cellspacing="0" cellpadding="1" bgcolor="#FFFFFF"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> </tr> </table> <br> <table border="0" width="100%" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td> </tr> </table> <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <br> <table border="0" bgcolor="#FFFFFF" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </tr> </table> PLEASE PLEASE PLEASE this is only a suggestion....make a backup of any changes before they are made. When I remove that block of code I get this: "Parse error: syntax error, unexpected '}' in /home/content/d/i/a/diamondmasters/html/shop-our-store/catalog/includes/footer.php on line 42" http://www.diamondmastersusacoins.com/shop...talog/index.php Link to comment Share on other sites More sharing options...
burtonsnow8 Posted July 8, 2009 Share Posted July 8, 2009 When I remove that block of code I get this: "Parse error: syntax error, unexpected '}' in /home/content/d/i/a/diamondmasters/html/shop-our-store/catalog/includes/footer.php on line 42"http://www.diamondmastersusacoins.com/shop...talog/index.php You should also remove the php tag at the bottom. My mistake. Link to comment Share on other sites More sharing options...
Guest Posted July 8, 2009 Share Posted July 8, 2009 You should also remove the php tag at the bottom. My mistake. Awesome! That worked, thank you so much for your time. Link to comment Share on other sites More sharing options...
burtonsnow8 Posted July 8, 2009 Share Posted July 8, 2009 Not a problem! now it just needs to be centered and you'll be looking fresh :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.