Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

borders


t.gordon

Recommended Posts

To remove the blue outline within the mainpage module in creloaded enter the template then select mainpage_modules and select mainpage.php, then replace your code within it to:

 

<?php
/*
 $Id: mainpage.php,v 2.0 2003/06/13

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

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/
?>
<!-- default_specials //-->
<table width="100%" border="0" cellspacing="2" cellpadding="0">
<tr><td bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="4">                         
<tr>                       
<td><div class="content">
<?php
include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFINE_MAINPAGE);
?>
</div>
</td></tr></table>
</td></tr></table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll">
<img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot">
<img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr">
<img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<!-- default_specials_eof //-->

 

this then removing the border.

 

I still need help with the main outer one, thanks.

Link to comment
Share on other sites

i have found the solution, for those who would wish to know.

 

the standard header.php contains it:

 

<?php
/*
 $Id: header.php,v 1.1.1.1 2004/03/04 23:42:24 ccwjr Exp $

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

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/
define('DIR_WS_TEMPLATE_IMAGES', 'templates/Original/images/');

// WebMakers.com Added: Down for Maintenance
// Hide header if not to show
if (DOWN_FOR_MAINTENANCE_HEADER_OFF =='false') {

if (SITE_WIDTH!='100%') {
?>
   <table width="<?php echo SITE_WIDTH;?>" align="center" cellpadding="0" cellspacing="0" border="0">
     <tr><td>
       <table BORDERCOLORLIGHT="2F4F2F" CELLSPACING="2" CELLPADDING="4" BORDER="2" width="800">" align="center" BGCOLOR="000000" align="center">
         <tr><td BORDERCOLOR="FFFFFF">
           <table border="0" width="100%"><tr><td>
<?php
}
?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
 <tr class="header">
   <td width="500">
                 <img src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME;?>/images/logo.gif"></td>
                 <td background="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME;?>/images/bg_cat4.gif.gif" width="100%" height="88">
</td>
    tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>
 </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="1">
 <tr class="headerNavigation">
   <td class="headerNavigation">  <?php echo $breadcrumb->trail(' ? '); ?></td>
   <td align="right" class="headerNavigation">

   <?php
     if (!tep_session_is_registered('noaccount')){// DDB - PWA - 040622 - no display of logoff for PWA customers
        if (!tep_session_is_registered('customer_id')) {
         echo '<a class="headerNavigation" href="' . tep_href_link(FILENAME_LOGIN) . '">' . HEADER_TITLE_LOGIN . '</a> | ';
          } else {
         echo ' <a class="headerNavigation" href="' . tep_href_link(FILENAME_ACCOUNT) . '">' . HEADER_TITLE_MY_ACCOUNT . ' </a>  | ';
         echo ' <a class="headerNavigation" href="' . tep_href_link(FILENAME_LOGOFF) . '">' . HEADER_TITLE_LOGOFF . ' </a>  | ';
          }
         }

    if (tep_session_is_registered('noaccount')) // DDB - PWA - 040622 - no display of account for PWA customers
      {
    if (!tep_session_is_registered('customer_id')) {
       echo ' <a class="headerNavigation" href="' . tep_href_link(FILENAME_LOGOIN, "", "SSL") . '">' . HEADER_TITLE_LOGIN . ' </a>  | ';
   }else{
        echo ' <a class="headerNavigation" href="' . tep_href_link(FILENAME_LOGOFF, "", "SSL") . '">' . HEADER_TITLE_LOGOFF . ' </a>  | ';
      }
      }
       ?>


     <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>
      |  <a href="<?php echo

tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?> | </a></td>

 </tr>
</table>

<?php
}
?>
<!-- header_eof //-->

 

where to remove it, this should be changed from:

 

<table BORDERCOLORLIGHT="2F4F2F" CELLSPACING="2" CELLPADDING="4" BORDER="2" width="800">" align="center" BGCOLOR="000000" align="center">

 

to

 

<table CELLSPACING="2" CELLPADDING="4" BORDER="0" width="800">" align="center" align="center">

 

thanks

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...