Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems with footer


shona324

Recommended Posts

I wonder if anybody can help me with this.

 

My footer bar and text underneath seems to have moved from right across the width of my page to under the right column.

 

Not quite sure how it happened or how to fix it.

 

Thanks in advance.

Link to comment
Share on other sites

I wonder if anybody can help me with this.

 

My footer bar and text underneath seems to have moved from right across the width of my page to under the right column.

 

Not quite sure how it happened or how to fix it.

 

Thanks in advance.

 

 

do you delete some <tr> </tr> and <td> </td> code??? it's happen to me to and that's was my error.

 

yours

 

sebastien

Link to comment
Share on other sites

Not that I know of. It happened after I moved 2 info boxes from left side to right. Now I can't seem to work out how it happened.

My crystal ball is broken, post some code (please).

Link to comment
Share on other sites

Sorry, I'm a novice!

So am I.

 

You said that you 2 info boxes from left side to right. That would be the place to start ie where you made the edits.

Link to comment
Share on other sites

Ok, this is the file I edited

 

includes/column_right.php

 

<?php

/*

$Id: column_right.php 6137 2005-05-10 12:59:09Z jim $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

require(DIR_WS_BOXES . 'shopping_cart.php');

 

require(DIR_WS_BOXES . 'search.php');

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_manufacturers_box();

} else {

include(DIR_WS_BOXES . 'manufacturers.php');

}

if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

 

if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

 

if (isset($HTTP_GET_VARS['products_id'])) {

if (tep_session_is_registered('customer_id')) {

$check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");

$check = tep_db_fetch_array($check_query);

if ($check['count'] > 0) {

include(DIR_WS_BOXES . 'best_sellers.php');

} else {

include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

include(DIR_WS_BOXES . 'best_sellers.php');

}

 

if (isset($HTTP_GET_VARS['products_id'])) {

if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');

} else {

include(DIR_WS_BOXES . 'specials.php');

}

 

require(DIR_WS_BOXES . 'reviews.php');

 

if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

 

include(DIR_WS_BOXES . 'currencies.php');

 

require(DIR_WS_BOXES . 'paymethods.php');

}

?>

Link to comment
Share on other sites

includes/column_left.php

 

 

<?php

/*

$Id: column_left.php 6137 2005-05-10 12:59:09Z jim $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'categories.php');

}

 

 

 

require(DIR_WS_BOXES . 'whats_new.php');

 

require(DIR_WS_BOXES . 'information.php');

include(DIR_WS_BOXES . 'languages.php');

?>

 

 

I moved search.php and manufacturers.php from left to right.

 

Thanks

Link to comment
Share on other sites

I've just managed to sort it. Problem seems to have been with footer.php. It all looked like it should to me, but I changed the footer width value and then changed it back to what it had been at and it started working again!!

 

Thanks for your help though.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...