JS. After all, we are replacing superfish.
Il giorno domenica 27 maggio 2012 00:06:55 UTC+2, Massimo Di Pierro ha
scritto:
>
> These no record boostrap and the new menu logic is staying in trunk. The
> only issue is whether the weird menu structure should be generated by MENU
> helper or by the
That's exactly what we have in trunk since yesterday. superfish is gone.
On Sunday, 27 May 2012 00:14:50 UTC-5, Annet wrote:
>
> I've been working on an application using Bootstrap for a couple of weeks
> now, and eventually dropped all the extra js plugins I was using, except
> the jQuery UI da
Hi,
Thanks for your reply.
One thing: does it behave differently if you change ajax=False in the
> LOAD()?
>
I don't think that's the cause of the problem, I replaced the ajax menu:
Home
Openingtijden
Event list
... with a none ajax menu:
Home
Openingtijden
Event
list
An
> What do you mean by does not work?
>
When I click the submit button, the form isn't being submitted.
Kind regards,
Annet.
I've been working on an application using Bootstrap for a couple of weeks
now, and eventually dropped all the extra js plugins I was using, except
the jQuery UI datepicker (which I style using JQuery UI Bootstrap:
http://addyosmani.github.com/jquery-ui-bootstrap/). My menus are entirely
Bootstr
Massimo: Thank you for explanation. If one goal is to attract newbies,
suggest warning re Chrome in manual. Jarrod
On Friday, May 25, 2012 1:58:20 PM UTC-4, Jarrod Wilcox wrote:
> The overview chapter adds an RSS facility to the mywiki example. The
> example code seems to contain typo errors:
Hi,
I'm using Recaptcha with ajax, and in case it helps I have the following
(programmed some time ago but still working):
> Include this in your layout.html ...
http://www.google.com/recaptcha/api/js/recaptcha_ajax.js";>
> Include this somewhere in your model (where NUBE.captcha_hid i
HI,
I just saw this error in my server log, just once, with the following entry:
ERROR:web2py:Traceback (most recent call last):
File "/home/www-data/web2py/gluon/main.py", line 401, in wsgibase
socket.gethostbyname(http_host)]
gaierror: [Errno -2] Name or service not known
So
In
http://web2py.com/books/default/chapter/29/4#Accessing-the-API-from-Python-modules:
Global variables instead are defined only once when the model is imported
for the first time.
Should read when the *module* is imported for the first time
On Friday, May 18, 2012 4:34:40 PM UTC-4, Anthony wr
I actually like having the code in html.py, but I'd vote for keeping this
as JS in layout.html. It's simple, it's practical, easily changed, leaves
less things to be kept backwards compatible in the web2py itself.
The day Bootstrap stops looking so good will come, sooner or later. Another
popul
I am sorry to hear this. I apologize for the typos in the book (that is
indeed my fault) but there is nothing wrong with the RSS feed as generated
by web2py. And using Django would not make any difference. In fact I think
the problem is discussed here in the chrome mailing list
http://productfo
Massimo
Chrome does not serve an RSS page given the manual's example controller
logic in the overview chapter, even after the manual's "repond" is
corrected to "respond". This is an old error first reported last fall by
someone else.
This is not a big deal. I still am working through the
These no record boostrap and the new menu logic is staying in trunk. The
only issue is whether the weird menu structure should be generated by MENU
helper or by the JS in layout.html.
On Saturday, 26 May 2012 12:33:52 UTC-5, Niphlod wrote:
>
> Until some time ago web2py mantained the "burden" of
You cannot quite do this. Each http request is wrapped in a transaction.
Even if the db object stays cached, the connection inside may be closed
when the first request ends, unless the transaction logic is overwritten.
On Saturday, 26 May 2012 11:45:31 UTC-5, David McKeone wrote:
>
> *Massimo an
hi, how to display in sqlform.grid -> viewhtml formated text?
i mean: *someText lazy** fox* instead ofsomeText lazy
fox
it's for Central Authentication Services
http://web2py.com/books/default/chapter/29/9#Central-Authentication-Service
Il giorno sabato 26 maggio 2012 18:46:26 UTC+2, Horus ha scritto:
>
> In the administrative section of your app there are the usual ACL tables.
> I realise there is a *acl_cas* ta
Until some time ago web2py mantained the "burden" of it's own template,
it's own css, it's own javascript functions based on jquery.
I think I started using web2py when it contained only ez.css's classes.
Having to be a CSS/JS coder better than all peoples around the world can be
hard ;-)
Then s
In the administrative section of your app there are the usual ACL tables. I
realise there is a *acl_cas* table along with these tables. I am curious as
to what this tables does?
*Massimo and Nico:*
Thanks for looking into those things, can't wait!
*RAM Cache and DAL?*
I've been looking into conditional models and attempting to combine them
with the module based system just to see how far I can take it and I've run
into a question:
Is there any reason I shouldn't us
On May 26, 2012, at 8:41 AM, Yarin wrote:
> Got this working on the CentOS server as follows:
>
> mail.settings.server = 'localhost:25'
> mail.settings.sender = 'y...@mail.com'
> mail.settings.login = None
>
>
> Massimo, please note the book says "Set mail.settings.login=False if the SMTP
> ser
Got this working on the CentOS server as follows:
mail.settings.server = 'localhost:25'
mail.settings.sender = 'y...@mail.com'
mail.settings.login = None
Massimo, please note the book says "Set mail.settings.login=False if the
SMTP server does not require authentication."
This was failing for
Massimo,
from my point of view - a simple user - the web2py core must remain tied to
its conventions and use standard protocols.
As you say, "bootstrap twitter" is one of the possible choices and then we
will do? we will have so many switches as are the web frameworks?
For my little experience in
Something is wrong with postfilx configuration. Use a python shell and try
the smtplib library directly. I use postfix all the time and nothing has
change in those parts of web2py.
On Saturday, 26 May 2012 09:24:27 UTC-5, Yarin wrote:
>
> I'm trying to send email out of web2py via localhost and
For now this is in trunk. Your implementation looks good.
For me the problem whether we want to do this or not. Most of the
conventions implemented in web2py core are web2py own conventions or
standard protocol. Bootstrap is a css library. very popular today but will
disappear tomorrow as a be
Can you please open an issue about the compute on update problem? I will
try reproduce and fix it.
On Saturday, 26 May 2012 07:11:28 UTC-5, peter wrote:
>
> So
>
> def update_images():
> rows=db(db.image).select()
> for row in rows:
> row.update(file=row.file)
> db.commit()
>
I'm trying to send email out of web2py via localhost and Postfix, but
everything I try just fails silently. Having the same issue on my Mac OSX
and CentOS6 server, each with Postfix installed and able to send emails
from the command line.
I've played with variations of the following settings:
me too.
@Massimo: please feel free to use it, edit, ask, etc.
here's a small variation with mobile parameter:
def twitter_menu(menu, level=0, mobile=False):
"""
Generates twitter bootstrap's compliant menu
"""
lis = []
for li in menu:
(text, active, href) = li[:3]
me too.
@Massimo, feel free to use it
here's a small variation with mobile parameter:
def twitter_menu(menu, level=0, mobile=False):
"""
Generates twitter bootstrap's compliant menu
"""
lis = []
for li in menu:
(text, active, href) = li[:3]
sub = len(li) >
the first message is expected because of this import:
try:
from gluon import DAL
except ImportError as err:
print('gluon path not found')
It wants to assume that that gluon is already loaded as part of the web2py
environment (or as part of some other environment, like Aptana for exam
Hello,
I am trying to add java applet to my application. I have problem with
pointing the page to proper path. In and old thread I found Massimo's code
like:
my question is: where does this path actually start? I have myJavaApp.call
file and some config files, but I have no idea where to
So
def update_images():
rows=db(db.image).select()
for row in rows:
row.update(file=row.file)
db.commit()
does work. I wrote (title=row.title) as I was a little loath to write
(file=row.file) as I was not sure if this was okay with 'upload' fields.
Clearly it is.
Thinking a
Hi Massimo,
Thanks for the answere. The documention available was clear to me
that the stripe APIs are to be used in the controller. I'm just trying to
understand if anyone is using the stripe supplied javascript, with Web2py.
Stripe's javascript is for sending the credit card data to stripe f
Hi David,
Got Jenkins running on mac and windows with unittests, will send you details
later.
Nico de Groot
Do you mean to add a new MENU attribute (i.e. 'bootstrap_menu') like
'mobile' and to switch by menu types?
I think that's a good option.
Il giorno sabato 26 maggio 2012 03:40:26 UTC+2, Massimo Di Pierro ha
scritto:
>
> We can include this in MENU and eliminate the JS. What do you think?
>
> On F
34 matches
Mail list logo