Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help Please My footer has done a runner


Get-Wireless 2

Recommended Posts

My footer seems to have gone for a walk,

 

All change I made was to:

\catalog\stylesheet.css

\catalog\includes\languages\english\index.php

 

I rolled the changes back but my footer is still missing,

 

I am wondering if I have a failed to roll another change, I was messing with code at 2am :(

/get-wireless makes mental note NOT to play with code at such a silly o'clock

Link to comment
Share on other sites

My footer seems to have gone for a walk,

 

All change I made was to:

\catalog\stylesheet.css

\catalog\includes\languages\english\index.php

 

I rolled the changes back but my footer is still missing,

 

I am wondering if I have a failed to roll another change, I was messing with code at 2am :(

/get-wireless makes mental note NOT to play with code at such a silly o'clock

 

you are probably missing some code

 

whats the url and let us take a look

Regards

 

Mark A Reynolds

Link to comment
Share on other sites

Link to comment
Share on other sites

Nearest I got to the above is

<td align="center"><?php echo tep_display_banner('static', $banner); ?></td>

its line 33 which is about half way

 

Thanks

Shaun

Link to comment
Share on other sites

your footer is present and represented by the bar, however your copyright notice is missing.

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

your footer is present and represented by the bar, however your copyright notice is missing.

 

As is the banner that I had in there, not bothered about the banner too much but would like to tget the osc stuff back in there

Link to comment
Share on other sites

can you post your footer.php code

 

My guess would be that it is being caused by the banner. What size is the image?

 

Did you edit english.php for the footer notice?

 

You may want to change your currency text from GPB to the correct GBP

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Hi

The banner I had in there along with the ocs info was working fine, Like I said I was 'tweaking' code at silly oclock, i thought i had rolled back all changes i made but guess I have missed summit or changed summit and forgot about it.

 

Also I dont recall editing english.php file at all,

 

 

 

catalog\includes\footer.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 class="footer">?? Call Us on 07922348217
<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
 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>
<br>
<br> 
<?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
 }
?>

Link to comment
Share on other sites

No worries I will try again.

 

What size is the banner?

 

what settings do you have for banner in admin?

 

Do you have the banner group 468 x 50 in admin?

 

Does the banner exist?

 

If you replace your footer.php with this code does it show?

 

<?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 class="footer">   Call Us on 07922348217
<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 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
 }
?>

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Hi, Thanks for that,

 

All is now back :)

 

I must have removed the banner in admin section and then not noticed it had disapeared

 

Cheers guys

Much appreciated.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...