Comments and votes when it is the first vote
14 years 3 months ago #55868
by esotechie
Comments and votes when it is the first vote was created by esotechie
When comments and votes are linked (Choose which module you want to enable=Vote & Comment Connected), when there is no previous vote, i.e. we are the first person voting on the item, clicking on the stars displayed a message to enter a comment, but the stars stay on zero, which means you can not enter a vote. If there is a previous vote, the functionality is OK.
Also the message says "to valid your vote ..." it should be "To validate your vote ..."
Also the message says "to valid your vote ..." it should be "To validate your vote ..."
Please Log in or Create an account to join the conversation.
14 years 2 months ago #55908
by nicolas
Replied by nicolas on topic Re: Comments and votes when it is the first vote
Thank you for your feedback.
I transferred your message to Xavier who is in charge of the votes and comments system and will answer you on Monday.
I transferred your message to Xavier who is in charge of the votes and comments system and will answer you on Monday.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 135
- Thank you received: 3
14 years 2 months ago #56102
by simonkloostra
Replied by simonkloostra on topic Re: Comments and votes when it is the first vote
Maybe in addition to this: It seems the submit butto below the comments form has a default value of "Send", and cannot be translated.
Please Log in or Create an account to join the conversation.
14 years 2 months ago #56152
by Xavier
Replied by Xavier on topic Re: Comments and votes when it is the first vote
Hi esotechie,
I changed the message.
You can correct the bug by editing the file:
YourSite/media/com_hikashop/js/vote.js
And replace:
By:
I changed the message.
You can correct the bug by editing the file:
YourSite/media/com_hikashop/js/vote.js
And replace:
Code:
rating = this.selectBox.getElement('option[value!=]').getAttribute('value');
&&
if(current && this.options.defaultRating != 0)
Code:
rating = 0;
&&
if(current && rating != 0)
The following user(s) said Thank You: esotechie
Please Log in or Create an account to join the conversation.
14 years 2 months ago #56155
by Xavier
Replied by Xavier on topic Re: Comments and votes when it is the first vote
Hi simonkloostra,
For the translation, you can edit the file "vote / form.php" in HikaShop > Display > Views.
And replace:
By:
And then in HikaShop > Configuration > Languages, edit the file in your language and add the line:
You can replace the text in quote by what you want.
For the translation, you can edit the file "vote / form.php" in HikaShop > Display > Views.
And replace:
Code:
echo JText::_('OK');
Code:
echo JText::_('HIKASHOP_SEND_COMMENT');
And then in HikaShop > Configuration > Languages, edit the file in your language and add the line:
Code:
HIKASHOP_SEND_COMMENT="Send a comment"
You can replace the text in quote by what you want.
The following user(s) said Thank You: simonkloostra
Please Log in or Create an account to join the conversation.
14 years 2 months ago #56182
by esotechie
Replied by esotechie on topic Re: Comments and votes when it is the first vote
Thanks Xavier.
Seems to have done trick
I will give it a full test later this week.
Seems to have done trick
Please Log in or Create an account to join the conversation.
Time to create page: 0.291 seconds