Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

What's New


5 replies to this topic

#1 2johnsons

  • Community Member
  • 189 posts
  • Real Name:Vaughn Johnson

Posted 23 November 2009, 01:14

On my what's new page it's showing the date that the items were added. How do I remove the date.
I don't want the date to show.

Thank you

#2 DunWeb

  • Community Sponsor
  • 10,455 posts
  • Real Name:Chris Dunn
  • Gender:Male
  • Location:Tecumseh, Ontario, Canada N8N 1X8

Posted 23 November 2009, 01:46

Vaughn,

In the product_info.php you will find this code:

<tr>
<td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td>
</tr>

change it to this:


<tr>
<td align="center" class="smallText">&nbsp <!-- <?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?> --></td>
</tr>


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:

:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:

#3 2johnsons

  • Community Member
  • 189 posts
  • Real Name:Vaughn Johnson

Posted 23 November 2009, 21:34

Chris thank you for the help and information I appreciate it.

Vaughn


View PostDunWeb, on 23 November 2009, 01:46, said:

Vaughn,

In the product_info.php you will find this code:

<tr>
<td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td>
</tr>

change it to this:


<tr>
<td align="center" class="smallText">&nbsp <!-- <?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?> --></td>
</tr>


Chris


#4 2johnsons

  • Community Member
  • 189 posts
  • Real Name:Vaughn Johnson

Posted 24 November 2009, 20:34

I replaced the code with the code you provided below and the date still remains it did not remove the "Date Added" information.


View PostDunWeb, on 23 November 2009, 01:46, said:

Vaughn,

In the product_info.php you will find this code:

<tr>
<td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td>
</tr>

change it to this:


<tr>
<td align="center" class="smallText">&nbsp <!-- <?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?> --></td>
</tr>


Chris


#5 knifeman

  • Community Member
  • 1,537 posts
  • Real Name:Tim
  • Gender:Male

Posted 24 November 2009, 20:56

View Post2johnsons, on 24 November 2009, 20:34, said:

I replaced the code with the code you provided below and the date still remains it did not remove the "Date Added" information.
I commented mine out like this:
<td align="center" class="smallText"><?php //echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td>
Tim

#6 2johnsons

  • Community Member
  • 189 posts
  • Real Name:Vaughn Johnson

Posted 24 November 2009, 20:58

Thank you Tim I will try that.


View Postknifeman, on 24 November 2009, 20:56, said:

I commented mine out like this:
<td align="center" class="smallText"><?php //echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td>
Tim