Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How To Remove Date And Time On Testimonials 4.1 Rate Topic   - - - - -

 
  • flasher
  • Senior Member
  • Members
  • Join Date: 26-Sep 05
  • 335 posts

Posted 30 July 2014 - 03:36 AM #1

How do we remove date and time stamps on testimonials in 4.1 see how it is don in 3 I did not know if they were the same as far as removing
Version 1.3.5 & Latest Version

 
  • snorocket
  • Forum Janitor
  • Members
  • Join Date: 15-Mar 06
  • 2519 posts

Posted 30 July 2014 - 05:26 AM #2

With the template editor (v4.1.5 ) find:
templates / addons / discussion / views / discussion / view.tpl

Find this line:
<span class="post-date">{$post.timestamp|date_format:"`$settings.Appearance.date_format`, `$settings.Appearance.time_format`"}</span>

And comment it out so it looks like this:
{*  <span class="post-date">{$post.timestamp|date_format:"`$settings.Appearance.date_format`, `$settings.Appearance.time_format`"}</span> *}

SNOROCKET.COM, Now Accepting PRE-ORDERS:
Customer Service (Helpdesk) Addon for CS-Cart v4.3.1
Quote and Invoicing Addon for CS-Cart v4.3.1

 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3627 posts

Posted 30 July 2014 - 05:28 AM #3

Hello,

In order to do this, open the design/themes/[YOUR_THEME]/templates/addons/discussion/views/discussion/view.tpl file and comment out the following line of code:
<span class="ty-discussion-post__date">{$post.timestamp|date_format:"`$settings.Appearance.date_format`, `$settings.Appearance.time_format`"}</span>

I hope this will help.

Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Google Analytics Enhanced Ecommerce - get advanced ecommerce analytics


 
  • Brennie369
  • Senior Member
  • Members
  • Join Date: 17-Mar 08
  • 831 posts

Posted 13 May 2015 - 04:52 PM #4

This doesn't work. I tried commenting it out with opening & closing {* and also by removing the line. Neither works (and I did clear template & browser cache).

CS-Cart 4.9.3 SP1


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21980 posts

Posted 14 May 2015 - 09:40 AM #5

This doesn't work. I tried commenting it out with opening & closing {* and also by removing the line. Neither works (and I did clear template & browser cache).


If you want to correct the block with testimonials, please correct the following file:

design\themes\YOUR_THEME\templates\addons\discussion\blocks\testimonials.tpl
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)