[web2py] Re: most simple way to change the "page=" parameter in grids

2017-09-27 Thread Thomas Wimmer
Thanks Anthony, i try and i try again. At least you encourage me! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you a

[web2py] Re: most simple way to change the "page=" parameter in grids

2017-09-27 Thread Thomas Wimmer
*push* Nobody? No Idea at all? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups

[web2py] most simple way to change the "page=" parameter in grids

2017-09-23 Thread Thomas Wimmer
I use multiple sqlform.grids on my project. On some i'd like to rename the "page=" argument to something else like "some=". Probably the pattern-based routes.py could do this? "routes_in = ( ('/grid?some=2', '/examples/default/grid?page=2'), ) routes_out = ( ('/examples/default/grid?page=2'

[web2py] Switch off cookies unless the user logs in?

2014-08-03 Thread Thomas Wimmer
How can i switch off (session) cookies unless a user logs in? Thanks! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because y

[web2py] Re: Simple question for registrations to filter bots

2014-04-03 Thread Thomas Wimmer
This idea is much better. Thanks a lot! Am Donnerstag, 3. April 2014 23:28:49 UTC+2 schrieb Rob Mayhue: > > Lately I've been taking the opposite approach. I add a field that should > always be empty and use CSS to set the field to `display: none; `. > > When the form is submitted if that field co

[web2py] Re: Simple question for registrations to filter bots

2014-04-03 Thread Thomas Wimmer
Yes like that, a simple question that is site-topic-related. I use reCAPTCHA for other purposes than registration, where i think a "lower wall" would be better than the sometimes anoying captchas. If no one has a better idea i will cascade the registration, by putting the question into a form be

Re: [web2py] Simple question for registrations to filter bots

2014-04-03 Thread Thomas Wimmer
Kiran Subbaramanhttp://subbaraman.wordpress.com/about/ > > On Thu, 03-04-2014 3:16 PM, Thomas Wimmer wrote: > > Hello! > > How can i add a simple question to the registration form? > > It shall prevent bots from the registration. > > Thx :-) > -- > Re

[web2py] Simple question for registrations to filter bots

2014-04-03 Thread Thomas Wimmer
Hello! How can i add a simple question to the registration form? It shall prevent bots from the registration. Thx :-) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Repor

[web2py] Re: forgot password not working anymore

2014-02-02 Thread Thomas Wimmer
On Saturday, January 25, 2014 11:55:56 PM UTC+1, pa...@cancamusa.net wrote: > > El viernes, 24 de enero de 2014 10:40:20 UTC+1, Bastiaan van der Veen > escribió: >> >> >> The problem is I get no exception, error or something else. The form >> posts and then reloads as if nothing happened. >> >

[web2py] Re: remove the tags of SQLFORM.grid?

2014-01-26 Thread Thomas Wimmer
Am Sonntag, 26. Januar 2014 16:34:48 UTC+1 schrieb Anthony: > > That's probably the best way for now, but we should fix that. > > Would the tags validate if written as ? That would be a much easier > fix. > > Anthony > No, this brings up: > Table column 10 established by element col has no cel

[web2py] remove the tags of SQLFORM.grid?

2014-01-26 Thread Thomas Wimmer
I try to keep my site html5 valid with the w3c markup checker: http://validator.w3.org/ as web2py generates "" tags, the validator brings up: "Stray end tag col." errors Is there a better way than: grid = SQLFORM.grid(...) grid = XML(str(XML(grid)).replace("","")) thanks in advance! -- Resou

Re: [web2py] Re: SQLFORM.grid how to link a entire row?

2013-05-13 Thread Thomas Wimmer
The detail was: "[1:]" for the range starting at 1. I thought about, how my code is performing, cause of the repeating lib calls. You cleared that perfectly! ;-) I wonder, that no one except Mandar Vaze is interrested in this feature, as i missed it some times! Or maybe everybody could solve th

Re: [web2py] Re: SQLFORM.grid how to link a entire row?

2013-05-13 Thread Thomas Wimmer
I wrote, not to use jquery, not js at all! The reason for my thread here was: what is the web2py way of getting this row-link. Am Montag, 13. Mai 2013 22:56:48 UTC+2 schrieb Niphlod: > > I may be missing something but without javascript there's no way to turn a > TR into a "clickable something"

Re: [web2py] Re: SQLFORM.grid how to link a entire row?

2013-05-13 Thread Thomas Wimmer
6][0]) > row[6][0] = '' > > Not only is the code simpler, but it calls grid.elements('tr') only once > instead of n+1 times (where n is the number of rows). > > Anthony > > On Monday, May 13, 2013 3:29:09 PM UTC-4, Thomas Wimmer wrote: >> >

Re: [web2py] Re: SQLFORM.grid how to link a entire row?

2013-05-13 Thread Thomas Wimmer
ht', > links_placement = 'right' > > > These are SQLFORM.grid() switch... > > Richard > > > On Mon, May 13, 2013 at 2:18 PM, Thomas Wimmer > > wrote: > >> i found a similar jquery script here: >> http://www.electrictoolbox.com/jquey-make-entire-ta

Re: [web2py] Re: SQLFORM.grid how to link a entire row?

2013-05-13 Thread Thomas Wimmer
i found a similar jquery script here: http://www.electrictoolbox.com/jquey-make-entire-table-row-clickable/ but i dont use jquery in my app und would prefer another way... Am Montag, 13. Mai 2013 19:56:19 UTC+2 schrieb Richard: > > You will need a little touch of jquery I gues... > > Something li

[web2py] Re: SQLFORM.grid how to link a entire row?

2013-05-13 Thread Thomas Wimmer
Instead of buttons or links, the row itself should be the link. The link area contains all fields. -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py

[web2py] SQLFORM.grid how to link a entire row?

2013-05-12 Thread Thomas Wimmer
How can i make entire rows clickable in grids? The link should depend on the row.id. Thx in advance! :-) -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[web2py] Download the book as local app?

2012-11-28 Thread Thomas Wimmer
Is there a way to get the book as a local running app? The pdf way is not comfortable. As i dont have inet all the time this would be great. Thx --