PDA

View Full Version : remove request since counter



okatoma
07-07-2004, 12:38 AM
Could someone please tell me how to remove the request since counter ant tne bottom of page in MS2-MAX 1.5. I have tried in includes/footer.php but nothing changed.

Thanks in advance

Ray

red_fraggle
07-07-2004, 07:13 AM
/catalog/templates/main_page.tpl.php
on or around line 79-84 you will find this code:
<?php require(DIR_WS_INCLUDES . 'counter.php'); ?>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<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>



Change it to this, cut and paste from here if you like and its an unmodified shop already otherwise go through it.

<?php //require(DIR_WS_INCLUDES . 'counter.php'); ?>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<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>

okatoma
07-07-2004, 11:10 AM
Clifton,
Thanks for info. I also removed the 'request since' in /catalog/includes/languages/english.php to get rid of the words request since that was left on the page.

Again thanks

Ray

pw_cynic
07-19-2004, 06:54 AM
why not just remove the whole section? that way the date table take up 100% od the width leaving the right hand section empty...