Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Reviews page


dannyguk

Recommended Posts

Posted

I have the date removed on 1 website but i forgot how i did it,

Can someone tell me how to remove firstname lastname and the date from the reviews alltogether so its not shown on any page,

 

and also how to remove the first and last name seperatly for my other website,

 

Thank you,

  • 2 weeks later...
Posted
I have the date removed on 1 website but i forgot how i did it,

Can someone tell me how to remove firstname lastname and the date from the reviews alltogether so its not shown on any page,

 

and also how to remove the first and last name seperatly for my other website,

 

Thank you,

 

No one?

Posted

About halfway down product_reviews.php and (and also product_reviews_info.php I believe)

I deleted:

 

<?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS_INFO, 'products_id=' . $product_info['products_id'] . '&reviews_id=' . $reviews['reviews_id']) . '"><u><b>' . sprintf(TEXT_REVIEW_BY, tep_output_string_protected($reviews['customers_name'])) . '</b></u></a>'; ?></td>
				<td class="smallText" align="right"><?php echo sprintf(TEXT_REVIEW_DATE_ADDED, tep_date_long($reviews['date_added'])); ?>

 

and replaced it with

   

 

Actually the code in product_reviews_info.php is slightly different but I changed it too long ago to remember!

Posted

Around line 80 in reviews.php

Replaced:

<?php echo sprintf(TEXT_REVIEW_DATE_ADDED, tep_date_long($reviews['date_added'])); ?>

 

with

  

 

Sorry for being a bumbler!

Archived

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

×
×
  • Create New...