[web2py] Downloading and printing images a user is viewing on my website

2017-05-13 Thread mostwanted
Hi guys, how do i implement a method for printing and downloading current images a user is viewing on my website? I have a web2py project and want users to be able to either download images they are viewing and like or download them into an external device Thanks. -- Resources: -

[web2py] How to keep checkbox checked state in SQLFORM.grid after submitting

2017-05-13 Thread Sergey
Hello, Sorry for the trouble. The decision of my problem is here: http://stackoverflow.com/questions/30642597/persisting-checked-state-using-localstorage http://jsfiddle.net/mct7xgq2/ In my case it is used checkbox attribute 'value' instead 'name' as in original sample. Thanks, Sergey --

[web2py] How to keep checkbox checked state in SQLFORM.grid after submitting

2017-05-13 Thread Sergey
Hello, I would like to ask about possibility for keeping of checkbox checked state in SQLFORM.grid after submitting or reloading. I have tried to use JS sample by SitePoint on http://codepen.io/SitePoint/pen/grJYvd/ Thanks, Sergey -- Resources: - http://web2py.com -

[web2py] Newbie to Web2Py...Integration with Bootstrap3...PyCharm How-To's

2017-05-13 Thread 'Christopher' via web2py-users
Greetings, I'm a WEB2PY newbie and I'm looking to quickly prototype a web application. I'm hoping to use http://www.layoutit.com/ with Bootstrap 3 for the page design. I'm going through the training videos on the Web2Py site now to get up to speed. I have a few questions... *1.* Are there

Re: [web2py] Re: Service call problem with new installation on Windows and raspberry

2017-05-13 Thread Stef Mientki
thanks Dave, I checked routes.py and indeed there's the default application defined. So changing routes.py solved the problem. But I guess I used the wrong URL's in my html views: "../call/csv/service_platdak", now if I change that with "{{=URL('default','call/csv/service_plat_dak')}}",

[web2py] Re: Need help with student attendance app

2017-05-13 Thread Massimo Di Pierro
The model is ok except make attendance a boolean. Make a API to return all the attendance for the class. Make an API to post an attendance change. Use vue.js and axios.js to call the first API loop and display name and checkbox for each record in a tabular form. Use vue.js to trigget a call to

[web2py] Re: recurring events from one form

2017-05-13 Thread Pierre
here is the "anonymous guru": http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#callbacks-on-record-insert--delete-and-update write a callback function that performs after the first record(event) insert and repeats it as many times as necessary (number of repeats in

[web2py] Re: Web2py Postgresql Groupby issue

2017-05-13 Thread Pierre
here: http://web2py.com/books/default/search/29?search=groupby s = db.table.field_a | db.table.field_b groupby s *always obey the computer.* :) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Google Cloud SQL users of the world, unite!

2017-05-13 Thread Karoly Kantor
I would like to share experiences, so I would kindly ask anyone using Google Cloud SQL to sign in here. Specially interesting would be - if you are on 1st or 2nd generation SQL instances - what tier of instance you are using - what are your observations on performance -- Resources: -

[web2py] Re: Expected behaviour of IS_IN_SET(set) if set is empty ?

2017-05-13 Thread Karoly Kantor
Thanks Anthony. The code you proposed gives an error on widget=SQLFORM.widgets.options. widget: TypeError: append() takes no keyword arguments I admit the user experience is odd, but you see, the "set" being empty is the result of user activity, or lack thereof. This way the form submission