[web2py] Re: keep value of email address text fieild after submit form

2014-10-11 Thread Leonel Câmara
Hey, right now, this is problematic. See this thread: https://groups.google.com/forum/#!topic/web2py/gXBfCGki9ns -- 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

Re: [web2py] Re: a very selfish request

2014-10-11 Thread piero crisci
I Made it too! Hope it will help massimo! -- 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

[web2py] bootswatch theme - how to do it

2014-10-11 Thread clara
Hello, I am not a css expert and I always stumble upon this with web2py: I select a nice theme from bootswatch 2.2.2 and replace the bootstrap.min.css file in web2py with the bootswatch's chosen theme and then very vew elements render as expected. What should I do to get everything rendered

[web2py] Re: keep value of email address text fieild after submit form

2014-10-11 Thread Anthony
For now, maybe something like: In a model file: def login_onfail(): session.login_email = request.post_vars.email auth.settings.login_onfail.append(login_onfail) In default.py controller: def user(): if request.args(0) == 'login' and session.login_email:

[web2py] Re: bootswatch theme - how to do it

2014-10-11 Thread Niphlod
What is not rendered as expected in particular ? On Saturday, October 11, 2014 4:19:04 PM UTC+2, clara wrote: Hello, I am not a css expert and I always stumble upon this with web2py: I select a nice theme from bootswatch 2.2.2 and replace the bootstrap.min.css file in web2py with the

Re: [web2py] Re: bootswatch theme - how to do it

2014-10-11 Thread Clara Ferrando
Panels, labels, for example. Labels are rendered small, background color is overridden in some cases ( default, info , etc) Panels show up with no borders and default/warning, etc styling has no effect. I am using Cerulean from bootswatch 2.2.2. I think it works the same with the other themes.

Re: [web2py] Re: bootswatch theme - how to do it

2014-10-11 Thread Russ King
This process worked fine for me - I haven't noted anything not rendering as expected. My only known issue is with the limited options for forms styling. I'd say use firebug with Mozilla or similar and you can see down to line level where your css is coming from (and potentially switch to

[web2py] Item in ``from list'' not a string (custom_import.py) web2py 2.9.11

2014-10-11 Thread Luciano Laporta Podazza
Hello, I'm using locally web2py (*2.9.8*) + Shopify API (2.0.4) on Mac OS X 10.9.5 (Python *2.7.5*) and this code works perfectly: from gluon.tools import Service service = Service() import gluon.contrib.simplejson as json def call(): session.forget() return service() @service.json

Re: [web2py] Re: create web2py application with 2 database

2014-10-11 Thread 黄祥
yeah, perhaps 2 application with 1 database (1 with select all transaction, 1 with query of the amount). pardon me, for misunderstood this at the first place, because my boss asked 2 databases for the application. thanks and best regards, stifan -- Resources: - http://web2py.com -