[web2py] Re: Web Development Introduction Based On Web2py

2011-12-21 Thread kasapo
Another way of looking at it is that the user is presented with views (or more accurately, HTML rendered from a view by a controller using the models) but interacts with controllers. Whenever a user clicks on an application link on a view, the browser sends a request and the controller handles it

[web2py] Re: Web Development Introduction Based On Web2py

2011-12-21 Thread kasapo
Found an error with the links in the Complete API section ( /api ) e.g. http://killer-web-development.com/docstring/SQLFORM Any request that goes to docstring seems to generate an error. Rock on and keep those chapters coming! On Dec 20, 12:33 pm, ma...@rockiger.com rocki...@googlemail.com

[web2py] Re: error downloading 1.99.3

2011-12-13 Thread kasapo
I downloaded the 1.99.3 source today and unzipped it with no issues. Maybe it was the crappy mobile connection or just some hiccup in the interwebs. I'd try again from another connection or just clear your cache and try downloading again... or use wget On Dec 13, 6:04 am, Nik Go

[web2py] Re: jquery mobile and returning DIV() with content format

2011-09-27 Thread kasapo
Hmmm... so python does not like dashes within an identifier, making this troublesome. You'll have to first off, get ride of the dashes in data-role, maybe just use underscores and rewrite them to be dashes when rendering them in XML. I think your best option is to create a new DIV class (or alter

[web2py] Re: jquery mobile and returning DIV() with content format

2011-09-27 Thread kasapo
Ok, Anthony's idea is like a million times better. -1 for extending the div class :( On Sep 27, 2:32 pm, kasapo kas...@gmail.com wrote: Hmmm... so python does not like dashes within an identifier, making this troublesome. You'll have to first off, get ride of the dashes in data-role, maybe

[web2py] Re: I did not know one could do this with css

2011-09-20 Thread kasapo
I always liked this one (though really not as cool): http://fictivekin.com/ Double click the dots. You can even put them back. The modifiable text/style/font is ti**ies though! -Kasapo On Sep 19, 8:13 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: http://use.fontorie.com/ How

[web2py] Re: Are we ready to launch 1.99.1?

2011-09-20 Thread kasapo
Yes, sometimes when I do google searches it seems to find the code i search for in the french version (since the code is still english... like searching for response.vars or something), but there is a variable ?_language=fr in the URL. After accessing a page (creating a session?) with the 'fr'

[web2py] confused on routes.py

2011-07-07 Thread kasapo
Hi, So I think I might not really understand routes.py. Here is my problem: my web2py app is run at a url like: http://host.domain.tld/meetings/2011/MYAPP But, there is a proxypass rule for /meetings/2011/MYAPP to go to localhost:8180/MYAPP (which is what web2py is running on) So, I think I

[web2py] fedora Daemon no longer working on 1.96.4

2011-06-22 Thread kasapo
Hi all, I recently upgrade from web2py 1.91.6 to 1.96.4 so I could use the recaptcha feature (it seems not to work on Firefox and some IE on 1.91.6). Unfortunately, this seems to have broken my daemon. When I launch web2py via the command line: python2.6 web2py.py -p 8180 It works fine. I

[web2py] Re: 2 auth tables

2011-06-22 Thread kasapo
What about using the auth groups? See here: http://www.web2py.com/book/default/chapter/08#Decorators You can use the function decorator: @auth.requires_login() for general users (and admins) and use: @auth.requires_membership('admin') for admin pages Then all you have to do is add admin users

[web2py] Re: error emails not being sent

2011-06-14 Thread kasapo
I had an issue with SMTP not sending emails last week. I could send them using the SMTP lib though... In the end changing to use port 25 worked, though my email client uses a different port which works fine. Try port 25 if you're not using it, if that doesn't work, try loading web2py with the

[web2py] LDAP, localhost and SSH tunnelling, oh my!

2011-06-13 Thread kasapo
Hi all, I just ran into a sort of stupid issue. I setup ldap authentication for my web2py app some time ago, and just recently noticed this issue -- I cannot seem to authenticate when connecting to the web2py application using port forwarding (via SSH tunnel). When logging in to the Production

[web2py] problem with {{block}}s inside included files (v.1.95.1)

2011-05-05 Thread kasapo
Hi all, I recently setup another instance of web2py for testing on a new system, and noticed something strange with blocks. Basically, I have three slightly different versions of web2py running: 1.89.3 (DEMO server), 1.91.6 (DEV server) and 1.95.1 which I just installed with the auto-upgrade

[web2py] Re: problem with {{block}}s inside included files (v.1.95.1)

2011-05-05 Thread kasapo
5, 1:37 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Hello kasapo, I do not completely follow you code. If I do, you have two blocks. The code included in one of the blocks seems to extend a  block included in another block. I am unsure this is supposed to work. Anyway, let's try

[web2py] Re: problem with {{block}}s inside included files (v.1.95.1)

2011-05-05 Thread kasapo
is that they don't. PS: I'm testing HTML5 stuff, hence the nav and section elements, but that should have absolutely no bearing on the template parsing. -Kas On May 5, 2:53 pm, kasapo kas...@gmail.com wrote: First off -- let me say that my usage of the templating in this case is somewhat