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():}}
{{='auth' in globals() and
auth.navbar(mode="dropdown") or ''}}
{{pass}}
and then pass navbar_disable in the controller.
return dict(me
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 UTC+2
t; Would that work? Any suggestion for fixing 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/book
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'"
))}}
--
---
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-framewor
esponse.write(A(request.env.path_info,_href=request.env.path_info))
response.write('\n ', escape=False)
response.write(T('Which called the function'))
response.write(' ', escape=False)
response.write(A(request.function+'()',_href='#'))
Thanks!
Used router and changed default app to kiekjs.
On Apr 27, 9:33 pm, Jonathan Lundell 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
081/kiekjs/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:
- pyt
In book chapter 6.17.6 I expect different return in the following
example:
>>> rows = db((db.person.name=='Alex') & (db.person.id>3)).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
id>3 and name == Alex.
I also d
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.
#x27;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 wrote:
> Can you try with the -N option?
>
> On Jul 31, 3:20 am, Johan wrote:
>
>
>
> > I'm using python 2.6.5
>
> > On 3
I'm using python 2.6.5
On 31 iul., 11:00, mdipierro wrote:
> which python version?
>
> On Jul 30, 11:41 am, Johan wrote:
>
>
>
> > Hello. I'm new here.
> > I just bought a vps at intovps.com , I installed archlinux on it with
> > everything that I
l last):
File "web2py.py", line 20, in
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/web2
14 matches
Mail list logo