Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Center Store Contrib Problems


ksaun

Recommended Posts

Hey All :thumbsup:

 

I installed the center store contrib on my site, but I have a problem and I can't figure out what is causing it.

 

The center store contrib and all its settings in admin control panel work fine except the footer of my site still displays the full width of the screen.

 

I looked at the footer.php and it is identical to the footer.php that was supplied in the contrib.

 

Any Idea what is going on? :huh:

 

Take a look:

 

My Webpage

My Favorite Quote from a movie.

 

Question: How do you know women sooo well?

 

Answer: I think of a man, then take away reason and accountability.

Link to comment
Share on other sites

Hey All :thumbsup:

 

I installed the center store contrib on my site, but I have a problem and I can't figure out what is causing it.

 

The center store contrib and all its settings in admin control panel work fine except the footer of my site still displays the full width of the screen.

 

I looked at the footer.php and it is identical to the footer.php that was supplied in the contrib.

 

Any Idea what is going on? :huh:

 

Take a look:

 

My Webpage

I use Center shop and I had the same problem. I don't remember what I did but if you can post your footer.php I will compare it to mine. :thumbsup:

Raymond

Link to comment
Share on other sites

Hey All :thumbsup:

 

I installed the center store contrib on my site, but I have a problem and I can't figure out what is causing it.

 

The center store contrib and all its settings in admin control panel work fine except the footer of my site still displays the full width of the screen.

 

I looked at the footer.php and it is identical to the footer.php that was supplied in the contrib.

 

Any Idea what is going on? :huh:

 

Take a look:

 

My Webpage

 

 

It looks like you have neglected to put </div> at the end before the closing ?> of your includes/footer.php file.....

Link to comment
Share on other sites

It looks like you have neglected to put </div> at the end before the closing ?> of your includes/footer.php file.....

 

Tried putting the </div> where you said but it gave me an error.

 

I can't even find the start call for it, maybe that's why it doesn't work? :huh:

 

Here is my header

<?php
/*
 $Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// check if the 'install' directory exists, and warn of its existence
 if (WARN_INSTALL_EXISTENCE == 'true') {
   if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) {
     $messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning');
   }
 }

// check if the configure.php file is writeable
 if (WARN_CONFIG_WRITEABLE == 'true') {
   if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) {
     $messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning');
   }
 }

// check if the session folder is writeable
 if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') {
   if (STORE_SESSIONS == '') {
     if (!is_dir(tep_session_save_path())) {
       $messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning');
     } elseif (!is_writeable(tep_session_save_path())) {
       $messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning');
     }
   }
 }

// check session.auto_start is disabled
 if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) {
   if (ini_get('session.auto_start') == '1') {
     $messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning');
   }
 }

 if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) {
   if (!is_dir(DIR_FS_DOWNLOAD)) {
     $messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning');
   }
 }

 if ($messageStack->size('header') > 0) {
   echo $messageStack->output('header');
 }

///////////////////    
///////////////////        
// [0001] BOF: WebMakers.com Added: Center Shop
// This goes before any other table of the shop
//
// Is center Shop ON/OFF ?
///////////////////

   if ( CENTER_SHOP_ON == 'on' ) {

///////////////////   
// [0001] Background Color ON/OFF and CellPadding for around the shop?
///////////////////

     if ( CENTER_SHOP_BACKGROUND_ON == 'on' ) {
?>
   <table width="100%" cellpadding="<?php echo CENTER_SHOP_PADDING; ?>" cellspacing="0" border="0" bgcolor="<?php echo CENTER_SHOP_BACKGROUND_COLOR_OUT; ?>">
     <tr><td>
<?php
     }
  
   
///////////////////    
// [0001] Shop Width Size and Shop Background Color
///////////////////
?>
   <table width="<?php echo CENTER_SHOP_WIDTH; ?>" align="center" BGCOLOR="<?php echo CENTER_SHOP_BACKGROUND_COLOR; ?>" BORDER="<?php echo CENTER_SHOP_BORDER; ?>" bordercolor="<?php echo CENTER_SHOP_BORDERCOLOR; ?>" CELLSPACING="<?php echo CENTER_SHOP_CELLSPACING; ?>" CELLPADDING="<?php echo CENTER_SHOP_CELLPADDING; ?>" >
     <tr><td BGColor="FFFFFF">
<?php
 
///////////////////
// [0001] The rest of this <td> statement is located at the end of footer.php
///////////////////
}


?>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr class="header">
   <td valign="middle" align="left"><a href="http://www.tonerjunction.com"><img src="images/TonerJunction-Logo1.jpg" border="0"></td>
   <td valign="middle" align="right"><a href="http://tonerjunction.com/catalog/warranty.php"><img src="images/1-Year-Warranty.jpg" border="0"></a></td>
   <td valign="middle" align="right"><img src="images/ups-freeship.gif"></td>

 </tr>
</table>
<table border="0" width="100%" height=24" cellspacing="0" cellpadding="1">
 <tr class="headerNavigation">
   <td class="headerNavigation"><?php echo $breadcrumb->trail(' » '); ?></td>
   <td align="right" class="headerNavigation">  <a target="_blank" href="http://www.ups.com/WebTracking/track?loc=en_US"><font color="FFFF00">TRACK YOUR ORDER</font></a><font color="#FFFFFF">   </td>

 </tr>
</table>
<table border="0" width="100%" height="20" cellspacing="0" cellpadding="1">
 <tr class="headerNavigation1">
   
   <td align="right" class="headerNavigation1"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation1"><?php echo HEADER_TITLE_LOGOFF; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation1"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation1"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation1"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>
 </tr>
</table>
<?php
 if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr class="headerError">
   <td class="headerError"><?php echo htmlspecialchars(urldecode($HTTP_GET_VARS['error_message'])); ?></td>
 </tr>
</table>
<?php
 }

 if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr class="headerInfo">
   <td class="headerInfo"><?php echo htmlspecialchars($HTTP_GET_VARS['info_message']); ?></td>
 </tr>
</table>
<?php
 }
?>

 

and Here is my Footer

 

<?php
/*
 $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

 require(DIR_WS_INCLUDES . 'counter.php');
?>
<table border="0" width="100%" cellspacing="0" cellpadding="1">
 <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%" cellspacing="0" cellpadding="0">
 <tr>
   <td align="center" class="smallText">
<?php
/*
 The following copyright announcement can only be
 appropriately modified or removed if the layout of
 the site theme has been modified to distinguish
 itself from the default osCommerce-copyrighted
 theme.

 For more information please read the following
 Frequently Asked Questions entry on the osCommerce
 support site:

 http://www.oscommerce.com/community.php/faq,26/q,50

 Please leave this comment intact together with the
 following copyright announcement.
*/

 echo FOOTER_TEXT_BODY
?>
   </td>
 </tr>
</table>
<?php
 if ($banner = tep_banner_exists('dynamic', '468x50')) {
?>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
   <td align="center"><?php echo tep_display_banner('static', $banner); ?></td>
 </tr>
</table>
<?php
 }
?>

<?php
///////////////////
// [0001] WebMakers.com Added: Center Shop
// This goes at the very end of the footer after all the tables
///////////////////

 if ( CENTER_SHOP_ON == 'on' ) {
  
///////////////////
// [0001] close table used to center
///////////////////
?>
     </td></tr>
   </table>
<?php
   if ( CENTER_SHOP_BACKGROUND_ON == 'on' ) {
    
///////////////////
// [0001] Add color to bottom of screen for large displays - needed especially on notebooks that run at 1600x1200
// close table used for outer bgcolor around the shop
///////////////////
?>
     </td></tr>
     <tr><td height="150"> </td></tr>
   </table>
<?php
   }
 }
///////////////////
// [0001] EOF: WebMakers.com Added: Center Shop
///////////////////
///////////////////
?>

 

Any Ideas? :-"

My Favorite Quote from a movie.

 

Question: How do you know women sooo well?

 

Answer: I think of a man, then take away reason and accountability.

Link to comment
Share on other sites

If you want it to be up and working quicly, i suggest you change to this contribution Fixed Width Site with CSS

Link to comment
Share on other sites

  • 3 months later...

Hello. I am using the fixed width with CSS contribution. Everything looks good except for my right column. All of the boxes are stagered from left to right and the headers and the text below in each box are not lined up either. I want my entire right column to be aligned to the far right so that from the right edge of my header logo everything in my right column will be in a straight line all the way down. I have tried to modify my column_right.php, and my includes/boxes/ .php pages and still cannot get the right column to be all inline vertically. Any help would be appreciated. Thanks in advance!

 

Matt

 

Thanks Nick works great :thumbsup:

Link to comment
Share on other sites

The problem you have is nothing to do with my contribution.  It must be something else you have done.

 

Vger

 

Sorry Vger. I think that I worded my question wrong. I wasn't blaming your contribution at all. I was just giving details as to what I installed and the problem that I am still having. It is just the right column. The info boxes for shopping cart, reviews, tell a friend, ect. ect. are vertically not aligned or centered. I was trying to ask my question to find out if anybody could please tell me which pages control the info box and info box content alignment. I also would like to make the center column wider. I have my page set to a fixed width of 780 pixels and the center column is very narrow and the outside edge of my right column is about 50 to 80 pixels away from the edge of my header logo which is sized at 780 pixels wide also. I need to know which pages I need to change the php code on to vertically align all of my right column info boxes and then I would like all of the content within my right column info boxes centered or left justified. I appreciate your contribution and it has made the rest of my site look exactly the way that I wanted it to. Again, I wasn't trying to blame your contribution for my page problem. Any help on this matter will be appreciated. Thank you for your time. :thumbsup:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...