Re: INDEX.PHP EXPLAINED for the Newbies
iiinetworks <[email protected]> 3 Sep 2003 13:23:43 -0000
| Newsgroups | gmane.comp.web.oscommerce.tips |
|---|---|
| Message-ID | <989dab820b718837cb25fad771d833cb@osCommerce-Forums> |
This message was sent from: Tips and Tricks http://forums.oscommerce.com/viewtopic.php?p=223827#223827 ---------------------------------------------------------------- [quote="sonny"][code]<!--THERE IS A LAYOUT BUG THAT NEEDS TO BE FIXED::: The bug displays the footer in the right column, so if you make any modifications to the width of OSCOMMERCE sometimes the footer gets stuck in the column_right.php <table>, THE FIX IS SHOWN BELOW --->[/code][/quote]This is caused by a bug in PHP. Discussed [url=www.oscommerce.com/community/bugs,1242]here[/url]. In a stock MS2 index.php, the closing table tag for column_right is on line 329. It's the next line after <!-- right_navigation_eof //-->. What you call the main table gets closed on line 331. footer.php has its own table below this. Also, tep_customer_greeting displays the "Welcome Guest!" text. The TEXT_MAIN line you point out starts with "This is a default setup". Cheers, Matt