Re: [web2py] Re: Voting system not working

2013-05-11 Thread sasogeek
It works now, thanks :) On Saturday, 11 May 2013 12:48:39 UTC+1, Niphlod wrote: > > at least you must include web2py.js that includes the javascript function > you're using > > On Saturday, May 11, 2013 1:09:13 AM UTC+2, sasogeek wrote: >> >> nothing happens, and i think it's because i didn't

Re: [web2py] Re: Voting system not working

2013-05-11 Thread Niphlod
at least you must include web2py.js that includes the javascript function you're using On Saturday, May 11, 2013 1:09:13 AM UTC+2, sasogeek wrote: > > nothing happens, and i think it's because i didn't include layout... > because when i do the exact same thing in the book, it works fine, but

Re: [web2py] Re: Voting system not working

2013-05-10 Thread sasogeek
nothing happens, and i think it's because i didn't include layout... because when i do the exact same thing in the book, it works fine, but with the same example, when i remove the extend layout line, it doesn't work anymore i don't want to use the default layout though... what files should

Re: [web2py] Re: Voting system not working

2013-05-10 Thread Vinicius Assef
What is exactly happening? The votesup field is not being added or the updated result is not being showed? Using some inspection tool, is your default/voteup() function being invoked? What did you already tried? Help us help you. On Fri, May 10, 2013 at 3:46 PM, sasogeek wrote: > I need help.

[web2py] Re: Voting system not working

2013-05-10 Thread sasogeek
I need help. On Friday, 10 May 2013 16:53:23 UTC+1, sasogeek wrote: > > Model > db.define_table('content', > Field('username'), > Field('text', 'text'), > Field('file', 'upload'), > Field('userpicture'), > Field('time', 'datetime', update=request.now), > Field('userid',