Skip to main content

Comments and votes when it is the first vote

More
14 years 3 months ago #55868 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 ..."

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #55908 by nicolas
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.

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #56102 by simonkloostra
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.

More
14 years 2 months ago #56152 by Xavier
Hi esotechie,

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)
By:
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.

More
14 years 2 months ago #56155 by Xavier
Hi simonkloostra,

For the translation, you can edit the file "vote / form.php" in HikaShop > Display > Views.
And replace:
Code:
echo JText::_('OK');
By:
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.

More
14 years 2 months ago #56182 by esotechie
Thanks Xavier.

Seems to have done trick :) I will give it a full test later this week.

Please Log in or Create an account to join the conversation.

Time to create page: 0.291 seconds
Powered by Kunena Forum