Has anyone used the Rating plugin from web2py.com/plugins ? Seems that
i install it and apply it to my application in the view as :
{{=plugin_rating('activity',activity.id)}} and it does not show the
correct rate when visiting the page. Thus, when I look into the admin
table to see what's happening, I have to manually update the plugins
master table for the fields tablename and record_id which say "None" .
Once I update them to tablename (activity) and record_id (which would
be the activity id number) it works. I played with the controller and
model of the plugin and still couldn't find a resolution.

I believe the problem might be coming from :

tablename=request.vars.tablename
record_id=request.vars.record_id

However, I played around with changing that and still nothing worked.

Any help would be appreciated!

Thanks,

George

Reply via email to