Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Ideas voting option #7

Open
rarevali opened this issue Jan 8, 2014 · 4 comments
Open

User Ideas voting option #7

rarevali opened this issue Jan 8, 2014 · 4 comments

Comments

@rarevali
Copy link

rarevali commented Jan 8, 2014

good morning,

I have done the setup for the product User Ideas and the product it works except the voting option. When you clic the vote button the vote remains at 0

@todordev
Copy link
Owner

todordev commented Jan 8, 2014

Hi,
Thank you for the post!
Could you check for JavaScript errors, please?
You can use Firebug on Firefox or Google Chrome developer tools.

If there are errors, you should find a way to fix them.

@muruk2
Copy link

muruk2 commented Jan 13, 2014

Hello,
Thanks for the module. it's fine but the vote option doesn't take in account the vote.
I haven't see Javascript errors & I work on joomla 3.2.
The setup is maybe wrong.
Thanks for our help

@todordev
Copy link
Owner

Could you send me a link to your page, please? I would like to check it.

@PierreRel
Copy link

Hi,
I also have trouble understanding the vote function. Nothing happens. I run Joomla 3.2.3 and have jQuery Easy has installed to avoid any conflicts. When I look at the site with Chrome Inspector I don't get any Java Script errors (what I can see at least). I have to admit that JS is not really my home turf, so I might be missing something.

I have placed a couple of breakpoints in the code to try to analyze what is going on and it seems like that the votebutton.js gets executed but that the code:

    jQuery.ajax({
        type: "POST",
        url:  url,
        data: fields,
        dataType: "text json"
    }).done(function( response ) {

...does not do anything. The next if statement gets totally passed over, it does not go into "response.success" or else. So no message is shown and nothing happens to the vote status.

What am I missing? I been looking for some documentation or hints, but so far nothing. I also realized that those that have reviewed this component on JED have had issues but solved them. Any hints to what the solution might have been?

Kind Regards
Pierre

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants