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
Latest News: (loading..)
What's New
Started by 2johnsons, Nov 23 2009, 01:14
5 replies to this topic
#1
Posted 23 November 2009, 01:14
#2
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">  <!-- <?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?> --></td>
</tr>
Chris
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">  <!-- <?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 :|:
:|: 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
Posted 23 November 2009, 21:34
Chris thank you for the help and information I appreciate it.
Vaughn
Vaughn
DunWeb, 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">  <!-- <?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?> --></td>
</tr>
Chris
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">  <!-- <?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?> --></td>
</tr>
Chris
#4
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.
DunWeb, 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">  <!-- <?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?> --></td>
</tr>
Chris
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">  <!-- <?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?> --></td>
</tr>
Chris
#5
Posted 24 November 2009, 20:56
2johnsons, 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.
<td align="center" class="smallText"><?php //echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td>Tim














