Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

would like to change Footer


sinryder

Recommended Posts

hello every one , i wana change the footer where it says some thing like " 2384 requests since Saturday 19 July, 2003 "

instead of this i like to put tabs like Links | bookmark us | and few more.

 

i have checked the footer file but cant figure out what to change :(

 

any help is greatly appreciated

thankyou

Link to comment
Share on other sites

if you're looking in includes/footer.php, it's all done in tables. What I've found the easiest is to first change "border=0" to "border=5" (or some number). Then save the file, refresh your site, see where you/the borders are, then change 5 back to 0. That just kind of helps you get your bearings as to where you are within the table, or where to look to adjust something.

Contributions I used : Updated 06-13-04 23:42

----------------

Vote on My Graphis Poll

Link to comment
Share on other sites

hello guys , can any one tell me where i should fit this code in footer so it showes up on right corner '<a href="' . tep_href_link(FILENAME_LINKS) . '">' . BOX_INFORMATION_LINKS . '</a>'

 

this is the code i have in foot.php

 

<?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
 }
?>

 

thankyou

Link to comment
Share on other sites

try:

 

replace:

 

<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>

 

with:

 

 <tr class="footer">
? <td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>
? <td align ="right" class="footer">  <a href="<?php echo tep_href_link(FILENAME_LINKS); ?>" ><?php echo BOX_INFORMATION_LINKS; ?></a></td>
</tr>

Your online success is Paramount.

Link to comment
Share on other sites

hello , yep that did it :) thx

but the color of "links" is the same as the background of footer

 

this is what i have in the stylessheet.css

 

TR.footer {

background: #003366;

}

 

TD.footer {

font-family: Verdana, Arial, sans-serif;

font-size: 13px;

background: #003366;

color: #ffffff;

font-weight: bold;

}

 

site is mghatworld.com

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...