btw... with the new app you can add a sidebar (left, right or both to
any page) by doing:
#in view/default/index.html for exmaple
{{left_sidebar_enabled=True}}
{{extend 'layout.html'}}
Main content goes here
{{block right_sidebar}}New Right Sidebar Content{{end}}
OR
It runs on the Nokia N900.
Regards
Johann
--
May grace and peace be yours in abundance through the full knowledge
of God and of Jesus our Lord! His divine power has given us
everything we need for life and godliness through the full knowledge
of the one who called us by his own glory and
Yes, especially when you have a look at how this thread started ...
LOL
Kind regards,
Annet
On Nov 1, 11:45 am, cjrh caleb.hatti...@gmail.com wrote:
import gluon.contrib.simplejson as simplejson
return unicode(simplejson.dumps(make_result_list(msg_out, rows,
success)), 'unicode-escape')
This is bad advice, because 'unicode-escape' will clobber all things
that have been
This probably isn't a web2py specific question but I thought I should
ask anyway in case there is something relevant in web2py that I have
missed.
I have a comments form that is used to create comments based on user
input. I would like to parse this user input such that any URLs
included will be
Hi all,
I would like to share with you the integration process of this
searching code (Whoosh) in my web2py application. For those who don't
know it, Whoosh is a search engine fully written in python, so it is
easy to use in a framework such as web2py, but with some little
issues. Well, after
On Wed, Nov 3, 2010 at 9:48 AM, Bernardo estem...@gmail.com wrote:
The problem comes when, reading whoosh documentation, we find out that
when indexing a document, whoosh lock the index (it is just locked to
write, you can read in while indexing). So, how to solve this
imposibility of
On Wed, Nov 3, 2010 at 6:00 AM, mdipierro mdipie...@cs.depaul.edu wrote:
We have two solutions:
1) change all layouts w2p files to look for superfish in static/ or in
static/js
2) move all the current static files in static/ and our of static/css,
static/js, static/images/.
Probably 1) is a
On 29 May 2010 03:38, Candid roman.bat...@gmail.com wrote:
db.your_table.your_field.requires = IS_IN_DB(db, 'person.id', '%
(name)s', orderby='person.name'))
On May 28, 9:38 am, David Marko dma...@tiscali.cz wrote:
Is there a way, how to specify order(sorting) in IS_IN_DB ? Its easy
to use
Sorry, I did't send the compelte information, while I was on mobile.
The easy way to render the 'http://' urls in web2py, is using markmin.
lets say you have a text
text = ths is a text with a link http://www.rochacbruno.com.br;
To render the link as an Hyperlink you can use markmin.
- removed the tests (because make it un-necessarily heavy)
Why do you think is heavy, yes there are new things, but none of them is
loaded, only loaded by controller test. And test can be removed without
affecting anything. The test are for a web developer, perhaps i don't
explain what the
I think you can use InstantPress or plugin_wiki for doing that.
2010/11/3 Kenneth kenneth.t.lundst...@gmail.com
I´m thinking about setting up a site where anybody can post stories
and then people can comment and maybe rate them.
I looked through the Free Appliances but could not find a
Countries as Python objects
http://opencountrycodes.appspot.com/python/
Maybe it can be usefull for someone building a twitter app with web2py,
I take this form an example posted by @gwidion on twitter.
code
# -*- coding: utf-8 -*-
import urllib, json
# Author: João S. O. Bueno
# License: LGPL V 3.0
def get_people_set(method, id, update=None):
url =
I am a Web2Beginner and I am trying to learn how to use it in a proper
way.
I'd like to add some Ajax-functionality to some areas of a Web2Py
application. I'm not sure how to approach it best.
For an example : I have a list with items, and actionlinks edit to
open each item in a jQuery dialog
2010/11/2 mdipierro mdipie...@cs.depaul.edu:
Most of that work was done on a very old web2py version. I never had
the time to merge with the most current version. I have the thesis and
I should go back study it.
can I help you in some way? I'm interested in it...
Massimo
--
Manuele
2010/11/2 mdipierro mdipie...@cs.depaul.edu:
Most of that work was done on a very old web2py version. I never had
the time to merge with the most current version. I have the thesis and
I should go back study it.
can I help you in some way? I'm interested in it...
Massimo
--
Manuele
Yeah, I noticed that a few months ago. It's very nice to use.
On Wed, 2010-11-03 at 10:49 -0200, Bruno Rocha wrote:
Countries as Python objects
http://opencountrycodes.appspot.com/python/
Online new version:
http://web2pytesting.appspot.com/
2010/11/3 Martín Mulone mulone.mar...@gmail.com
- removed the tests (because make it un-necessarily heavy)
Why do you think is heavy, yes there are new things, but none of them is
loaded, only loaded by controller test. And test can
I too am interested in participating in a project like this.
Jose
Ok
2010/11/3 mdipierro mdipie...@cs.depaul.edu
I agree jgrowl is better but not for a scaffold app. It requires
downloading 3 more files and the advantages are minimal.
About the tests. They are not heavy in the bandwidth sense. They just
clutter the design page and new users get lost.
In my applications, sometimes I realize that the flash goes unnoticed.
Often the user does not notice that something has just appeared in the flash
box
To fix this I usually put the flash centered, or use some kind of 'Expose'
feature, I am using expose from Jquery Tools
2010/11/3 Jonathan
On Nov 3, 2010, at 8:40 AM, Bruno Rocha wrote:
In my applications, sometimes I realize that the flash goes unnoticed.
Often the user does not notice that something has just appeared in the flash
box
To fix this I usually put the flash centered, or use some kind of 'Expose'
feature, I
I think this is fixed and layouts now work with both old welcome and
new welcome.
Can somebody try it please?
Just install one random layout (old welcome and new welcome) and use
firebug to make sure superfish.js is found.
Massimo
On Nov 3, 4:37 am, Branko Vukelic bg.bra...@gmail.com wrote:
Should I wait for a patch about this?
On Nov 2, 4:08 pm, Michele Comitini michele.comit...@gmail.com
wrote:
Bruno Rochas pointed this out:
http://www.ymacs.org/demo/
cool!
mic
Massimo I think welcome is broken in trunk, there no files in views/ :O
Often the user does not notice that something has just appeared in the flash
box
Perhaps a variation of flash 'silen', that goes like an application
statusbar, on bottom and thin.
2010/11/3 mdipierro
Would be a good idea to have more options for flash.
I.e: response.flash('hello world',position='top-right')
Enviado via iPhone
Em 03/11/2010, às 14:56, Martín Mulone mulone.mar...@gmail.com escreveu:
Massimo I think welcome is broken in trunk, there no files in views/ :O
Often the user
On Nov 2, 7:38 pm, Jonathan Lundell jlund...@pobox.com wrote:
On Nov 2, 2010, at 4:09 PM, pierreth wrote:
A tuple works fine, but zero=None isn't part of the tuple.
IS_IN_SET((Dr, Dre, M., Me, Mme, Mlle, Mr, Miss, Mrs,
hon), zero=None)
You are right. I was wrong.
One thing we can do is a FLASH helper that allows:
response.flash=flash('test',mode='warn')
This is already in the new welcome app but we could promote flash to a
FLASH helper. Pros? Cons?
It would link a helper to some image static files that may not be
there.
We could add some JS code
Cool! And much easier than I tought.
I can simply create my own helper if I need position and other JS
BTW. Its a good idea to promote flash in to a built in helper and the mode arg.
Enviado via iPhone
Em 03/11/2010, às 16:27, mdipierro mdipie...@cs.depaul.edu escreveu:
One thing we can
2010/11/3 mdipierro mdipie...@cs.depaul.edu:
Should I wait for a patch about this?
yes
On Nov 2, 4:08 pm, Michele Comitini michele.comit...@gmail.com
wrote:
Bruno Rochas pointed this out:
http://www.ymacs.org/demo/
cool!
mic
I've randomly read this topic in between CSS and short cigarette
breaks, and noted this part:
About the tests. They are not heavy in the bandwidth sense. They just
clutter the design page and new users get lost. There is aleady too
much stuff in the design page. I am even considering hiding
hi
why is order of validators important?
i have
db.tecaj.voditelj.requires=IS_NOT_EMPTY()
db.tecaj.voditelj.requires=IS_IN_DB(db,'person.id','%(name)s')
why does putting the IS_NOT_EMPTY() at the end doesn't produce
dropdown list?
do i need the IS_NOT_EMPTY() if i have IS_IN_DB validator?
This is a educated guess but I think you can only have one requires,
when you write two the second is used. So if you put IS_NOT_EMPTY last
web2py only uses that one, and that alone is not enough for web2py to
build a dropdown.
IS_IN_DB takes out the need for IS_NOT_EMPTY as the value has to
2010/11/3 Kenneth Lundström kenneth.t.lundst...@gmail.com:
IS_IN_DB takes out the need for IS_NOT_EMPTY as the value has to be in the
database it can´t be empty.
IS_THAT_TRUE? Because, I know for sure there's a use-case for
IS_EMPTY_OR(IS_IN_DB())
I've used the above pattern a lot in a
On Wed, Nov 3, 2010 at 9:10 PM, Branko Vukelic bg.bra...@gmail.com wrote:
2010/11/3 Kenneth Lundström kenneth.t.lundst...@gmail.com:
IS_IN_DB takes out the need for IS_NOT_EMPTY as the value has to be in the
database it can´t be empty.
IS_THAT_TRUE? Because, I know for sure there's a use-case
Don't you think some components using this on web2py.com home page
would be nice?
2010/11/3 Bruno Rocha rochacbr...@gmail.com:
Maybe it can be usefull for someone building a twitter app with web2py,
I take this form an example posted by @gwidion on twitter.
code
# -*- coding: utf-8 -*-
Maybe thats why.I was using elfinder , which i made web2py integration.
The code is here:
def __upload(self):
Upload files
try: # Windows needs stdio set for binary mode.
import msvcrt
msvcrt.setmode (0, os.O_BINARY) # stdin = 0
I keep an eye on python web frameworks.
Here at Carleton a pilot has just begun:
http://www2.carleton.ca/ccs/this-month-ccs/october-2010/learning-management-system-trials-have-begun/
Looking at the LMS's you mention (BB, D2L, Moodle). I don't work in
the LMS area but would like to see python
Do you mean showing who follows @web2py?
I think it is a good idea, even to create some kind of web2pyers network based
on twitter.
Enviado via iPhone
Em 03/11/2010, às 18:18, Michele Comitini michele.comit...@gmail.com escreveu:
Don't you think some components using this on web2py.com
Meanwhile, and only If you want, send me or post here your nicknames of
twitter and I'll make a web2py twitter-list.
my twitter is @desmondo.
On Wed, Nov 3, 2010 at 10:06 PM, rochacbruno rochacbr...@gmail.com wrote:
Do you mean showing who follows @web2py?
I think it is a good idea, even to
Anyone know if someone has setup Web2py with device detection and/or
created a mobile.css for web2py display on small displays?
Chris
On Nov 3, 2:21 am, Johann Spies johann.sp...@gmail.com wrote:
It runs on the Nokia N900.
Regards
Johann
--
May grace and peace be yours in abundance
Web2py Application Exhibition Version 2.0
Do you have a Web2py app that you'd like to show the world?
If so, you may be interested in the Web2py Application Exhibition.
The WAE is a way to...
1. Demonstrate what can be done with Web2py.
2. Share and learn about useful web2py, python, Javascript,
Wow, this seems to work really well!
Thanks!!! Great work
On Nov 2, 6:09 pm, mdipierro mdipie...@cs.depaul.edu wrote:
This is CoreFive's Filemanager integrated with web2py. Also included
ckeditor to edit text and html files.
Developed by Jeevan
License: BSD
Nice! Until december I will finish one of my open projects.
Enviado via iPhone
Em 03/11/2010, às 19:18, NetAdmin mr.netad...@gmail.com escreveu:
Web2py Application Exhibition Version 2.0
Do you have a Web2py app that you'd like to show the world?
If so, you may be interested in the Web2py
I'm not going to participate this time!!!, but i'm going to help netadmin
with the submittion application.
2010/11/3 rochacbruno rochacbr...@gmail.com
Nice! Until december I will finish one of my open projects.
Enviado via iPhone
Em 03/11/2010, às 19:18, NetAdmin mr.netad...@gmail.com
I want to pass to classical menu
response.menu = [
(T('Home'), False, URL(request.application,'default','index'),'',
[])
]
something like _onclick= to make an ajax call. I implement myself my
own menu class, but broke the compatibility. There are any way to do
this?, because is very
Yes but what we are talking about here are not tests. We are talking
about a folder called test that provides examples of hos to customize
the layout. These examples may confuse new users since they require
extra modules, views and controllers.
On Nov 3, 2:50 pm, Branko Vukelic
... for completeness.. there are tests in there but they are not tests
of the web2py app. they are JS tests for HTML5 compliance of the
browser. That is useful but does not belong to a scaffolding app in my
opinion.
On Nov 3, 5:23 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Yes but what we are
The oreder is important because validators are filters.
requires=[A,B,C]
input - A - B - C - database
database - ~C - ~B -~A - output
You get a dropdown if there is a single validator that has an options
attribute.
On Nov 3, 2:52 pm, andrej burja andrej.bu...@gmail.com wrote:
hi
why is
I have no idea what this does but this line looks very suspicious to
me:
maxSize = self._options['uploadMaxSize'] * 1024 * 1024 * 1024
On Nov 3, 3:42 pm, Phyo Arkar phyo.arkarl...@gmail.com wrote:
Maybe thats why.I was using elfinder , which i made web2py integration.
The code is here:
We need to assemble a team.
On Nov 3, 3:00 pm, jnowl john_now...@carleton.ca wrote:
I keep an eye on python web frameworks.
Here at Carleton a pilot has just begun:
http://www2.carleton.ca/ccs/this-month-ccs/october-2010/learning-mana...
Looking at the LMS's you mention (BB, D2L, Moodle).
There is something in the new welcome in trunk. Martin did it. I am
not sure what it does thou.
On Nov 3, 4:16 pm, Christopher Steel chris.st...@gmail.com wrote:
Anyone know if someone has setup Web2py with device detection and/or
created a mobile.css for web2py display on small displays?
I just posted it. User Jeevan did it.
On Nov 3, 4:24 pm, Christopher Steel chris.st...@gmail.com wrote:
Wow, this seems to work really well!
Thanks!!! Great work
On Nov 2, 6:09 pm, mdipierro mdipie...@cs.depaul.edu wrote:
This is CoreFive's Filemanager integrated with web2py. Also
I guess we can modify MENU so that is we pass a fifth argument, it
will be used for _onclick
On Nov 3, 4:43 pm, Martin.Mulone mulone.mar...@gmail.com wrote:
I want to pass to classical menu
response.menu = [
(T('Home'), False, URL(request.application,'default','index'),'',
[])
]
Can someone help me with the Execution Environment?
Is the example on the book correct?
I'm talking about:
from gluon.shell import exec_environment
cas = exec_environment('applications/cas/models/db.py')
rows = cas.db().select(cas.db.user.ALL)
I gave it a go, but cas application does not exist
Hello Uolter,
the use of exec_environment is really discouraged and rarely needed.
moreover cas is now integrated with web2py in gluon/contrib/
login_methods.
Before we do this... what do you need to do?
Massimo
On Nov 3, 3:52 pm, Uolter wtras...@googlemail.com wrote:
Can someone help me
Yes, the new welcome is based in htmlboilerplate and has some things for
mobile but you have to test and make proper changes to
static/css/handheld.css and not all mobiles support media=handheld. Other
thing is the new jquery has improvements for mobile. Also there are a new
project in alpha
Or pass an A() instead of a url and you have all the elements.
2010/11/3 mdipierro mdipie...@cs.depaul.edu
I guess we can modify MENU so that is we pass a fifth argument, it
will be used for _onclick
On Nov 3, 4:43 pm, Martin.Mulone mulone.mar...@gmail.com wrote:
I want to pass to
Ok, in trunk, this should work:
response.menu = [
(T('Home'), False,
A('hello',_href=URL(request.application,'default','index')))
]
Please let me know since I did not check it.
On Nov 3, 5:52 pm, Martín Mulone mulone.mar...@gmail.com wrote:
Or pass an A() instead of a url and you have
Is there a way to integrate into my app?
On Nov 3, 8:39 pm, mdipierro mdipie...@cs.depaul.edu wrote:
I just posted it. User Jeevan did it.
On Nov 3, 4:24 pm, Christopher Steel chris.st...@gmail.com wrote:
Wow, this seems to work really well!
Thanks!!! Great work
On Nov 2, 6:09 pm,
How can I implement my own html template for the authentication/login to use
throughout my site. I thought about redirecting it but that doesn't make
sense... any ideas
Massimo and others,
Google claims that count() does not have an enforced limit, though
they have mis-documented the feature. see
http://code.google.com/p/googleappengine/issues/detail?id=4001 if you
are curious. in order to get count to be truly limitless, you need to
pass limit=None to count.
It should be easy to turn it into a plugin. Any takers?
On Nov 3, 6:20 pm, yamandu yamandu.co...@gmail.com wrote:
Is there a way to integrate into my app?
On Nov 3, 8:39 pm, mdipierro mdipie...@cs.depaul.edu wrote:
I just posted it. User Jeevan did it.
On Nov 3, 4:24 pm, Christopher
I think you just want to edit the views/default/user.py
On Nov 3, 6:51 pm, Andrew Evans randra...@gmail.com wrote:
How can I implement my own html template for the authentication/login to use
throughout my site. I thought about redirecting it but that doesn't make
sense... any ideas
errata
views/default/user.html
On Nov 3, 6:51 pm, Andrew Evans randra...@gmail.com wrote:
How can I implement my own html template for the authentication/login to use
throughout my site. I thought about redirecting it but that doesn't make
sense... any ideas
Here is the latest work by Branko (with minor edits by me):
http://web2py.com/demo_admin
(also in trunk)
This is the older one
http://web2py.com/demo_admin_halloween
My edits are:
1) I have made all edit buttons orange
2) links files and no longer buttons (consistently with original
I think the accordion top bars are too much rounded, better to keep the same
rounded degree as buttons have.
2010/11/4 mdipierro mdipie...@cs.depaul.edu
Here is the latest work by Branko (with minor edits by me):
http://web2py.com/demo_admin
(also in trunk)
This is the older one
The Edit button is pointing to /peek
2010/11/4 Bruno Rocha rochacbr...@gmail.com
I think the accordion top bars are too much rounded, better to keep the
same rounded degree as buttons have.
2010/11/4 mdipierro mdipie...@cs.depaul.edu
Here is the latest work by Branko (with minor edits by
in this page
http://web2py.com/demo_admin/default/edit/demo_app1/controllers/default.py
too much space used above the edit area, intead having 'save' and 'versions'
below, this could be aside, or within a toggle/accordion space. space
matters when editing files in admin.
2010/11/4 mdipierro
This is now better in trunk. Please check it there.
On Nov 3, 10:53 pm, Bruno Rocha rochacbr...@gmail.com wrote:
in this
pagehttp://web2py.com/demo_admin/default/edit/demo_app1/controllers/defau...
too much space used above the edit area, intead having 'save' and 'versions'
below, this
Hi,
I am running web2py 1.88.2.
I have some modules I import that are not under the application's
directory. These are moduled developed for other projects.
Accessing the modules works fine within the app itself, since they are
on the PYTHONPATH. However, running the following cron command:
On Nov 3, 2010, at 8:21 PM, mdipierro wrote:
Here is the latest work by Branko (with minor edits by me):
This scales up (cmd +) rather badly under Safari, the buttons especially.
http://web2py.com/demo_admin
(also in trunk)
This is the older one
On Nov 3, 2010, at 8:45 PM, Leo wrote:
I am running web2py 1.88.2.
I have some modules I import that are not under the application's
directory. These are moduled developed for other projects.
Accessing the modules works fine within the app itself, since they are
on the PYTHONPATH.
74 matches
Mail list logo