You can add some logic in the layout.html, if I understand correctly you
want to disable the navbar in some views?
{{if not 'navbar_disable' in globals():}}
ul id=navbar class=nav pull-right{{='auth' in globals() and
auth.navbar(mode=dropdown) or ''}}/ul
{{pass}}
and then pass navbar_disable
Yes, write your own navbar function and use that instead, or take a look at
modify navbar() in gluon/tools.py (You will need source code for that)
Also I did a rewrite of navbar in the repo, should make it much easier to
write your own navbar imo.
On Wednesday, August 28, 2013 8:19:28 PM
this problem?
On Monday, 11 February 2013 09:13:15 UTC-6, Johan Börjesson wrote:
I had the same problem a while ago. The solution is described in the
book: http://web2py.com/books/default/chapter/29/09#CAPTCHA-and-reCAPTCHA
Instead of
{{=form.custom.widget.recaptcha}}
use
{{=FORM
I had the same problem a while ago. The solution is described in the book:
http://web2py.com/books/default/chapter/29/09#CAPTCHA-and-reCAPTCHA
Instead of
{{=form.custom.widget.recaptcha}}
use
{{=FORM(Recaptcha(request,PUBLIC_KEY, PRIVATE_KEY, options=theme:'white'
))}}
--
---
You
I am using selectable in SQLFORM.grid to create checkboxes and a submit
button, it's working fine.
But I would like to have two submit buttons where each button calls a
different function, depending on if the checkboxes is checked or not. Is
that possible?
--
Hi,
The ebook is now available and can be downloaded.
Johan
On Monday, March 12, 2012 8:18:43 AM UTC+1, Massimo Di Pierro wrote:
The web2py recipes book is finally out:
http://www.packtpub.com/web2py-application-development-recipes-to-master-python-web-framework-cookbook/book
the function'))
response.write(' ', escape=False)
response.write(A(request.function+'()',_href='#'))
response.write(' ', escape=False)
response.write(T('located in the file'))
Johan
On May 30, 7:54 am, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
We can make this better
/default/index
I searched in chapter 11 and in the group mails, but can't find any
reference to what to change.
Johan
See my current app.yaml settings:
application: kiekjs
version: 1
api_version: 1
runtime: python
default_expiration: 24h
derived_file_type:
- python_precompiled
handlers
Thanks!
Used router and changed default app to kiekjs.
On Apr 27, 9:33 pm, Jonathan Lundell jlund...@pobox.com wrote:
On Apr 27, 2011, at 12:27 PM, Johan wrote:
Hi,
I'm trying to deploy my app on GAE, but I don't know how to configure
the app.yaml so that the request
In book chapter 6.17.6 I expect different return in the following
example:
rows = db((db.person.name=='Alex') (db.person.id3)).select()
for row in rows: print row.id, row.name
4 Alex
Why does it return 4 Alex ? I expect none, as there is no record with
id3 and name == Alex.
I also don't
Is it possible to post a free version of this _as it is_ ?
Some of us my find it very useful.
Or even, a version without the wysiwyg, if that's the problem.
gluon.widget.start(cron=True)
File /home/johan/web2py/gluon/widget.py, line 875, in start
server.start()
File /home/johan/web2py/gluon/main.py, line 683, in start
self.server.start()
File /home/johan/web2py/gluon/rocket.py, line 208, in start
self._threadpool.start()
File /home/johan
I'm using python 2.6.5
On 31 iul., 11:00, mdipierro mdipie...@cs.depaul.edu wrote:
which python version?
On Jul 30, 11:41 am, Johan jo...@johan.ro wrote:
Hello. I'm new here.
I just bought a vps at intovps.com , I installed archlinux on it with
everything that I'm used to work
' ignored
It doesn't seem to affect web2py, but I'm not sure that it won't cause
a problem in the future.
It may be related to the problem above.
On 31 iul., 11:27, mdipierro mdipie...@cs.depaul.edu wrote:
Can you try with the -N option?
On Jul 31, 3:20 am, Johan jo...@johan.ro wrote:
I'm
14 matches
Mail list logo