• Closed by: Marek
  • Closed on: 24.11.18, 18:22
  • Reason: Closed
  • Comment: Glad to help!

Ticket #13232 - pk_testimonials issues

Good afternoon,

we suffering from some issues with pk_testimonials module. Mainly, the module asks to be registered in order to send an opinion, but once registered, asks for my name and an e-mail address as required. Is it possible that this information is taken from my profile? Why do we register first in order to make an comment?

A second question regarding pk_testimonials. Seems like the comment is limited to 240 characters. Why so small? Is it possible to make it bigger?

kind regards,

Ibon

Comments

Marek 13 Nov 2018, 22:57

Hi, Asier Iturralde.
Please test it out now, I just make an update

Asier Iturralde 14 Nov 2018, 15:32

Hi Marek,

Tried again and nothing changed. Everything fails as with the previous version.

Marek 15 Nov 2018, 11:25

Yes, sorry, I missed one thing.
So, now there is no “email” and “name” fields, and the limit is 1000 symbols

Asier Iturralde 22 Nov 2018, 14:27

Hi Marek,

A couple of questions regargind pk_testimonials module:

1 - Cannot find translations of the literals from addtestimonial.php in Modules Testimonials Shop:

    'field_error' => $this->trans('Please fill in all the required fields', array(), 'Modules.Testimonials.Shop'),
    'captcha_error' => $this->trans('Please type captcha words correctly and try again!', array(), 'Modules.Testimonials.Shop'),
    'success' => $this->trans('Your message has been sent and will be published soon', array(), 'Modules.Testimonials.Shop'),
    'DB_error' => $this->trans('Can\'t add testimonial to DB', array(), 'Modules.Testimonials.Shop'),
    'other' => $this->trans('Something is wrong. Please try again', array(), 'Modules.Testimonials.Shop')

2 - In display testimonials: Date should be formatted to spanish (check attachment). i.e. “22 November 2018” should be “22 Noviembre 2018”

Best,

Ibon
Marek 23 Nov 2018, 11:22

1. Try following fix:

'field_error' => $this->l('Please fill in all the required fields'),
'captcha_error' => $this->l('Please type captcha words correctly and try again!'),
'success' => $this->l('Your message has been sent and will be published soon'),
'DB_error' => $this->l('Can\'t add testimonial to DB'),
'other' => $this->l('Something is wrong. Please try again')

2. I can offer you another date format: for example 22.11.2018

Asier Iturralde 23 Nov 2018, 16:15

Hi Marek,

Ok changed the code. Now where will this translations appear? in Which section?

In the other hand, is it possible to set tghe date format to: 22/11/2018?

best,

Ibon
Asier Iturralde 23 Nov 2018, 17:58

Hi Marek,

Ok changed the code. Now where will this translations appear? in Which section?

In the other hand, is it possible to set tghe date format to: 22/11/2018?

best,

Ibon
Marek 24 Nov 2018, 11:55

Go to translation, select modules, find testimonials and see those wordings to translate
Date format has been changed in the file /web/modules/pk_testimonials/pk_testimonials.php

Asier Iturralde 24 Nov 2018, 12:13

Thanks!
Ticket can be closed.