How do I omit the date from showing on testimonials, comments & reviews? I’d also like to set the Author Name as optional & not required.
Thanks
Ok I figured it out. I went to:
skins/your_skin/customer/addons/discussion/discussion.tpl
& deleted:
```php
$settings.Appearance.date_format
, $settings.Appearance.time_format
”}This actually removed both the author name & date from appearing on any comments, reviews, testies, etc.
For removing the name field on the form, I am guessing it's done on the discussion_gr.tpl page, but can't figure out how to edit the code which is:
```php {* $Id: allow_discussion_gr.tpl 3807 2007-08-31 14:27:59Z zeke $ *}
{$lang.discussion_title_giftreg}:
*{assign var="discussion" value=$object_id|fn_get_discussion:$object_type}
{$lang.disabled}
{$lang.enabled}
```
Any ideas?
Thanks
Hello,
I did this but removed this only
{$post.timestamp|date_format:“$settings.Appearance.date_format
”}
from customer/addons/discussion/blocks/testimonials.tpl
Hope this helps.
Ok the above worked on product & category reviews as well as the testimonials page itself, but one more step is required to remove name and/or date from the testimonials that appear in the side box:
on the skins/your_skin/customer/addons/discussion/discussion_small.tpl page, remove the following:
{$lang.author}: {$post.name}
{$post.timestamp|date_format:"`$settings.Appearance.date_format`, `$settings.Appearance.time_format`"}
[quote name=‘ywalker’]Hello,
I did this but removed this only
{$post.timestamp|date_format:“$settings.Appearance.date_format
”}
from customer/addons/discussion/blocks/testimonials.tpl
Hope this helps.[/QUOTE]
Ah… we’re using different templates as I don’t have a blocks folder in discussion. We should say which templates we’re using in case others want to implement this. I’m using the default_magenta template.
Agreed, I am using a modified version of Artificial Casting, not sure why we don’t have the same files. I think I have a blocks folder because I am displaying testimonials in a block on my home page. I don’t display them in the side box.
I'd like to omit the dates on the Testimonials page itself and also in the block I have for testimonials on the home page. I don't really want to remove the name of the person, just the date, as some of them are from 2009.
I am using the Artificial Casting skin, but the instructions from ywalker above didn't work for me. Thanks in advance for any help.