Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

1473 requests since Friday 14 March, 2003


Guest

Recommended Posts

How do we change the date in " 1473 requests since Friday 14 March, 2003 " on the footer border to another date so it does not appear that we started business the day we go live.

 

Thank you Randy

Link to comment
Share on other sites

if you just want to hardcode some fake date in there, look in footer.php for this line:

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

 

and replace ' . $counter_startdate_formatted . '

with September 25, 1986 or whatever you want.

 

or you can change the date in the counter table. or you can look in counter.php and change the $counter_startdate......

 
Link to comment
Share on other sites

how do you comment it out? do you just // and // before and after that code?

i.e:

 

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

 

am i right or wrong?

Link to comment
Share on other sites

no. html comments are <!-- --> but that won't comment out the php output.

php comment is //

so put the // before echo

 

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

 
Link to comment
Share on other sites

How do we change the date in " 1473 requests since Friday 14 March, 2003 " on the footer border to another date so it does not appear that we started business the day we go live.

 

Thank you Randy

 

You could just edit the table counter with the date and count you want ... :D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...