This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » plugins » Javascript plugins » Jquery rating system and symfony
Jquery rating system and symfony [message #79140] Fri, 29 May 2009 13:21 Go to next message
tannos  is currently offline tannos
Messages: 42
Registered: May 2009
Member
Hi,
I tried to use this star rating plugin (jquery) : http://orkans-tmp.22web.net/star_rating/index.html

I read article on Ajax Integration (symfony cookbook) bt I don't successed to use the plugin.
I trie to figure out how integrate this code in my page:
    <script type="text/javascript">
        $(function(){
            $("#ratings").children().not("select").hide();
            $("#ratings").stars({
                inputType: "select",
                captionEl: $("<span/>").insertAfter("#ratings"),
                callback: function(ui, type, value)
                {
                    $.post("demo2.php", {rate: value}, function(data)
                    {
                        $("#ajax_response").html(data);
                    });
                }

            });
        });
    </script>


Can anyone can tell me how I can use/modify this code to integrate it in my showSuccess.

Thanks
Regards

PS: excuse my english

[Updated on: Fri, 29 May 2009 13:21]

Re: Jquery rating system and symfony [message #101780 is a reply to message #79140 ] Tue, 29 June 2010 17:39 Go to previous messageGo to next message
NeoX  is currently offline NeoX
Messages: 58
Registered: March 2010
Location: Spain
Member

Hi tannos,

Have you integrated Jquery rating system in you symfony project?
I nedd to integrate it but I dont know how.

Thanks.
Re: Jquery rating system and symfony [message #102225 is a reply to message #101780 ] Thu, 08 July 2010 23:19 Go to previous messageGo to next message
tannos  is currently offline tannos
Messages: 42
Registered: May 2009
Member
Hi,

I used another rating system for my project.

Maybe you can use this plugin http://www.symfony-project.org/plugins/sfWidgetFormJqueryRat ingPlugin

Regards
Re: Jquery rating system and symfony [message #102238 is a reply to message #79140 ] Fri, 09 July 2010 10:22 Go to previous message
NeoX  is currently offline NeoX
Messages: 58
Registered: March 2010
Location: Spain
Member

Hi tannos,
I've installed sfWidgetFormJqueryRatingPlugin but I can't see the stars. I've followed readme instructions.
I get the following error in firebug:
$("#container_votacion_votacion").raty is not a function

What can I do?

Thanks.

[Updated on: Fri, 09 July 2010 10:41]

Previous Topic:Extending current sfJqueryPLugin
Next Topic:[RESOLVED] JQuery TableSorter with Symfony 1.4.6
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software