I've used the sortable plugin (
http://www.web2py.com/plugins/default/sortable ) in some projects and
I think it is very useful to arrange list of items in database. What I
miss is the "connect list" functionality (
http://jqueryui.com/demos/sortable/#connect-lists ) of jQuery UI. What
I think can
I've used the sortable plugin (
http://www.web2py.com/plugins/default/sortable ) in some projects and
I think it is very useful to arrange list of items in database. What I
miss is the "connect list" functionality (
http://jqueryui.com/demos/sortable/#connect-lists ) of jQuery UI. What
I think can
I've used the sortable plugin (
http://www.web2py.com/plugins/default/sortable ) in some projects and
I think it is very useful to arrange list of items in database. What I
miss is the "connect list" functionality (
http://jqueryui.com/demos/sortable/#connect-lists ) of jQuery UI. What
I think can
This worked perfectly :)
Hi all, how can I remove this function?
I've tried with
auth.settings.actions_disabled.append('request_reset_password')
in the user(): controller, but this remove only the target page, not
the link in itself from the login form...
Some ideas?
Hi all, I've "installed" CKEditor as instructions in
http://www.web2pyslices.com/main/slices/take_slice/18
But when I save some html it is not rendered in the output as html, it
is rendered as text with html tags.
I want to disable this "sanitizing" feature, but I cant find how...
Please, could you
This solved my problem, thanks :)
> Like this:
>
> A( B('link name'), _href = URL(r=request, f='show', args=x.id),
> _target = "_blank" )
>
> Hope this helps,
> - Yarko
Thanks this worked well :)
Thanks friend, I view this mail now, too late unfortunately. But I
saved this for future use. Thanks again :)
On Thu, Jul 1, 2010 at 7:45 PM, Candid wrote:
> model:
>
> db = DAL('sqlite://storage.sqlite')
>
> db.define_table('thing', Field('category'), Field('year', 'integer'))
>
> db.thing.categ
Hi where I have to look to change the default "submit" string of
generic submit button in something else? I'm not interested in
localizing the application (it have to remain english) but if it is
the only way, how I can do this? Creating a "en" locales?
Sorry for the typo, it is exactly a _blank target attribute
desidered output
link name
I can't find this little piece of information anywhere in the cyberspace...
a simple plain link with html helpers:
A(B('link name'), _href=URL(r=request, f='show', args=x.id))
How to put a _black attribute inside this?
After two days of attempts I still can't figure it out. What I want is
a set of dropdown selection, every one with some options and a submit
button. When options are selected and submit pressed it start a search
in a db table and return the list of all occurrence meeting all
selected criteria... So
>From all the searches and informations viewed and readed I can say it
seems to not exist yet an appliance or tutorial for this specific
task. However it dont seem hard to make what you want. Maybe you can
try and in case of problems ask for some guidance.
gls
>> Has anyone completed an online di
I don't have a profile controller, just the default user():
I have to create a profile(): def in default.py and set this option in
this new def?
Thanks for answering :)
> db.auth.myfield.readable = False
>
> In your profile controller, set it to True;
Hi all, as subject I have to make a custom field of auth.user visible
only in profile form but not in register form. There is an option to
make this happen?
Thanks this little dirty trick its exactly what I needed :D
Hi, something like this is possible? Automatic generation of forms by
db is just too lazy and beautiful to make me manually construct them
just for some space in between fields...
db.define_table('example',
Field('one'),
Field('two'),
Field('three'),
(insert a br here),
Field('
Hi all, I have to {{include "sidebar.html"}} in every page of a site,
and one of the elements in this include is a little form (a text field
and a submit button) where user insert email address and apply for a
newsletter, effectively writing a record in db.newsletter. How can I
do this without a co
Even following your indication I can't make it work :( I will retry
after dinner. I am surprised of how this project seems not interesting
to the others... It is very strange, In my humble, I think this have
to be shipped by default in web2py...
Please ignore my previous message (written before you replied), now I
will try to make your suggested changes
I re-tried, managed to install extracting files in the correct folder,
but now Im stuck
"Note URL (Both in View and web2py_elcon) need to be change to your
host:port (i did with port 8080)"
Can you please explain a little more, what I've to change and where?
>From what I understand seems to edit
Yeah!!! Great, this is super-useful! I was not able to make it work
yet it will not install as an appliances and extracting the
application folder in the web2py didnt work either. Its because some
parts are not ready yet? I cant wait to see this in my application
list in web2py!
gls
Jason I've tried step by step your list of actions in exact order and
it worked! Thanks friends, another problem resolved. Now I have a
working remote web2py installation! Now I see a different world...
vps.net seem a very good service, it is my first dedicated server.
I've looked in /admin/default/errors/admin and there is nothing. Until
now I've tried to upload appliances, but now I've tried also to create
one, message is "unable to create application x" (x is for name of
application obviously)
I suppose it is a permission problem, web2py seem unable to create
In the installation script used:
http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-ubuntu.sh
there is this at line 62:
chown -R www-data:www-data web2py
I tried to do "chown -R www-data web2py" in home dir and restart
apache as suggested but the situation is not changed, Im sti
So simple and so effective :D Thanks my hero. Im now able to login in
the admin panel with the same root password of the system, but Im
unable to install any appliances, made by me or dowloaded from the
appliance archive and uploaded to the node. It simply response a flash
popup telling "unable to
Hi, as I wrote in another thread Im installing web2py on vps.net and I
have some problem, maybe with apache... I dont know, I hope someone
answer while I serch some info. But now my question is, I read in
manual the included wsgi server in web2py it is not intended for
production use due to lack of
Hi all, I've just installed my first remote copy of web2py, I acquired
a node on vps.net, installed the ubuntu LAMP image, connected via ssh
to the shell and installed all the software via this very useful (and
beatiful!) script:
http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-u
I've get it wrong, on GAE file uploading works, but one has to modify
the application to charge the uploaded files on the database.
Idem for sessions and tickets, personally I don't like this, so I will
stay away from GAE (for this and the big query limitations, I cant
make too much things), but is
Ok, then it is possible to include a view served by a controller? For
example something like this:
{{include 'default/block1.html'}}
I tried many combination to obtain this but as now never worked.
The first proposed solution would be much more vertatile but...
> You cannot do what you ask but y
Dont even mention the servers are online five minutes yes and ten
minutes not, the horrible super crapped-out ajax overloaded left menu
dont let me "one click install" web2py 'cause it is not rendered well
on the last firefox version (?!?!?!) and when i try to open with
another computer with window
I am a totally noob so I am not the best person to tell this, however,
I think web2py is the best python software I ever tried, after python
itself. I tried only django in this field before, my experience in
limited, but I just can't imagine something better for the development
of web application.
Then Im missing something. Everywhere I read of this limitations...
Have you made some specific changes to make all this things works or
you get it ready out of the box?
Sometimes I feel happy to be wrong, so tell me Im completely wrong about GAE :D
> for my web2py apps on GAE I have used the admi
Im not this good to be of any help, but Im very interested in this
conversion, just to let you know, something like this integrated in
web2py would be SUPER
> It Seems The Right One
>
> But i tried to integrate into web2py , only working partially.
> I know it is suppose to run as CGI script (as i
I need this solution too... Maybe with some help from javascript? Some
days ago testing various appliances from the repository I encountered
an example of submit button, when clicked it will open a dialog with a
personalized message. I will try to find it again...
(the typical flash response howev
Im searching this information in manual, at this moment no luck...
It is possible to pass a string or a dictionary to an included views?
Something like this:
--- layout.html
{{include 'block1.html' 'hello from block 1'}}
{{include 'block2.html' 'hello from block 2'}}
{{include 'block3.html' 'hell
Thanks friend :)
> If you want this variable globally available for all views then put
> `giugno = 6' into a model.
> Or if you only want this variable for a certain view then pass it
> explicitly in the controller with `return dict(giugno=6, ...)'
Hey thanks, it
On Tue, Jun 15, 2010 at 8:23 AM, mdipierro wrote:
> My bad
>
> dataset_three=(dataset_one|dataset_two).sort(lambda row:
> row['sortfilename'])
>
> On Jun 14, 9:52 am, Giuseppe Luca Scrofani
> wrote:
>> I've tried, I get this when trying t
A quick update, the site tell signup is down:
"We're sorry, but signups are down until Saturday, June 19th so we can
catch up on a creation queue backlog. Please check back on Saturday!"
(source http://www.heliohost.org/home/wrapper-mainmenu-8)
19ht June is today... Eh?
There is another problem
Hey Jason you are a very nice person. Ill' consider your generous
offer if I dont find a suitable free hosting. I need only a week, so
your proposal is perfect for me. Lets see what is the situation with
free hosting first.
>From my searches, for now there is this: http://www.heliohost.org seem
wor
Hi, my little first (serious) application is ready, now I have to
place it somewhere in the 'net.
Before paying for hosting services, can I try on a free host?
Something simple and fast? I know python should be supported, but it
is sufficient? I will be happy to know some free host service name
whe
I've tried, I get this when trying to add dataset_one and two:
TypeError: unsupported operand type(s) for +: 'Rows' and 'Rows'
I "feel" there is something to do before adding, like convert to
another datatype, but my incompetence limits me...
(I hope I dont stretch my luck with all this question
Thanks for answering friends, it worked! Now, how I can setup a
condition block to transform the digit returned by
{{=request.now.month}} (example: 6) into something like "giugno" (june
in italian language)?
> e.g. (paste this on the view)
>
> month: {{=request.now.month}}
> day : {{=reque
Hi, how I can insert in a page not served by a controller (think
layout.html in the welcome application) current day and month?
I've tested something like this {{import datetime;
datetime.datetime.now()}} but even if this worked it will be horrible
(import datetime every single page load...)
Hi all, it is possible to make a query to the db and sort the elements
of multiple tables by date?
I will try to be more specific with an example, I have this
controller, the structure of the model should be evident:
def index(): # This is the index controller
dataset_one = db().select(db.da
Thanks Candid and Massimo for answering, I've tried your suggestion,
Massimo, and it worked.
I've replaced (starting from line 12 in applications/admin/models/access.py)
else:
hosts = (http_host, socket.gethostname(),
socket.gethostbyname(http_host),
'::1','127.0.0.1'
Im sorry, I can't find how to make the administrative interface
available on my local network. I know this is a security risk but in a
production environment it can be a necessity... Maybe a command line
option?
Thanks
Hi Jason, thanks for answer. In a hurry I just exposed my problem in
too basic terms.
I have started extending the wiki example in the web2py book, it seem
to be what I need. My request was for a sort of "template"... I
founded it, so thanks.
gls
I dont know if this is the correct place to post this, but I have
found a typo in
http://web2py.com/book/default/section/3/9
In the wiki code presented (first block, the db model) at lines 39 and
48 a function parameter (an empty string) is not correctly enclosed
causing a syntax error. Or maybe I
Hi all, I have to made a new website/webapplication. It is structured
as following:
Home page (header, a little login form, several text and images, footer)
Page 1 (not too different from home page...)
Page 2 (idem)
Page 3 (idem)
Control panel to manage contents of all other pages (insert text,
im
Thanks all for answering friends! I've extracted some good info from
this discussion, and the solution proposed by Massimo work well :)
Hi all, as promised I'm here to prove you are patient and nice :)
I' have to make this little app where there is a function that read
the html content of several pages of another website (like a spider)
and if a specified keyword is found the app refresh a page where there
is the growing list of "m
Count me in! This is a very good idea. How I can contribute in this
starting phase? It is possible to make a list of the first task
involved in the creation of this business? A dedicated wiki, maybe?
On Mon, May 24, 2010 at 1:18 AM, mdipierro wrote:
> I have some problems:
>
> 1) people ask me to
54 matches
Mail list logo