Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Is it possible to change/remove the 'amount of requests' line of text from the bottom of the front page.


storm

Recommended Posts

Posted

Is it possible to change/remove the 'amount of requests' line of text from the bottom of the front page.

 

Thank you

Posted

I think this is located in the footer.php file. Find it and delete/relocate it, or just uncomment it.

Posted

Yes, it's in includes/footer.php. Remove one feature or both:

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

 

Vger

Posted
Yes, it's in includes/footer.php. Remove one feature or both:

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

 

Vger

 

Where would iI put the comment out text?

Posted
Where would iI put the comment out text?

The only part of the footer you need to keep is:

 

<?php

/*

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

 

*/

 

?>

 

You can put your html coding in here to your div off tags.

 

</div></div>

 

If you just want to comment out a php function you add this

 

/*

 

before the coding and

 

*/

 

after the coding you wish not to use.

 

If you do not wish to use the date and counter you could delete the above code altogether or comment it out as above.

If you want to use the date but not the counter you would add this */ before the code and */ after

 

 

/*<td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td>

</tr>*/

Archived

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

×
×
  • Create New...