[web2py] Re: Smartgrid layout question

2013-05-12 Thread funmanhk
Sorry... it's really my bad. But to answer myself to share what could be done. 2) linked_tables=dict(demo_detail='id',achievement='id') ^^^ Option 2 is indeed working. I missed the '' for the id... Now, i am happy. Cliff, Thanks very much for y

[web2py] Want to add Confirmation on link in sqlform.grid

2013-05-12 Thread Pawan Jha
Hi all I am using this in SQLFORM.grid here is confirm message but on clicking this Message is coming but when i am clicking on no the its refresh the pages so please tell me how will i prevent this links = [lambda row: A('Club call',_onclick="confirm('Do you want to club this call')",_h

[web2py] Re: GDAL and Web2py

2013-05-12 Thread Massimo Di Pierro
If we understand the question, It is in the book: http://www.web2py.com/books/default/chapter/29/06?search=geo#PostGIS,-SpatiaLite,-and-MS-Geo-(experimental) On Tuesday, 3 November 2009 15:05:00 UTC-6, Adolfo wrote: > > Hello > > has someone tried using gdal with web2py? can someone give me some

[web2py] Re: SQLFORM.grid how to link a entire row?

2013-05-12 Thread Massimo Di Pierro
Not sure I understand. :-( On Sunday, 12 May 2013 13:09:35 UTC-5, Thomas Wimmer wrote: > > How can i make entire rows clickable in grids? > > The link should depend on the row.id. > > Thx in advance! :-) > -- --- You received this message because you are subscribed to the Google Groups "web2p

[web2py] Re: new in trunk: auth.settings.allow_delete_accounts

2013-05-12 Thread Massimo Di Pierro
thanks for checking. I made some changes now the user is logged out after checking the box. On Sunday, 12 May 2013 11:44:37 UTC-5, Alan Etkin wrote: > > > Please help me check this feature: > > auth.settings.allow_delete_accounts= True > > Tested with scaffolding app from an older version. It wo

[web2py] SQLFORM.grid icons

2013-05-12 Thread Ovidio Marinho
How to replace icons link inside the sqlform.grid??? Ovidio Marinho Falcao Neto Web Developer ovidio...@gmail.com 83 8826 9088 - Oi 83 9336 3782 - Claro Brasil -- --- You received this message be

[web2py] Re: IS_IN_DB orderby natural sort?

2013-05-12 Thread rppowell
Here is example code to show what I am doing. The following is in model/db.py: db.define_table('item_type', Field('name'), Field('description'), format='%(name)s' ) db.define_table('item', Field('name'), Field('description'), Field('item_type'), format='%(name)s' ) d

[web2py] Filed Upload no sqlform.grid

2013-05-12 Thread Ovidio Marinho
Boa Noite pessaol, Estou tendo dificuldades no sqlform.grid no campo upload, geralmente ele lista como *file * e eu não acho isso elegante, o correto seria um Botão já que na tabela apresentada o campo file tem um arquivo para visualização. Alguém tem uma sugestao de como otimizar este camp

[web2py] SQLFORM.grid how to link a entire row?

2013-05-12 Thread Thomas Wimmer
How can i make entire rows clickable in grids? The link should depend on the row.id. Thx in advance! :-) -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[web2py] Re: GDAL and Web2py

2013-05-12 Thread Andrey K
Check it out (http://www.markbreedveld.nl/blog/blog/post?post=1) On Wednesday, November 4, 2009 12:05:00 AM UTC+3, Adolfo wrote: > > Hello > > has someone tried using gdal with web2py? can someone give me some > advice on how i can use gdal with web2py > > thanx > > Adolfo -- --- You recei

[web2py] Re: matplotlib inserting my data

2013-05-12 Thread new2web2py
many many thanks Alan, youre answer is 100% percent correct and works perfectly. Really appreciate you taking the time to help. On Sunday, May 12, 2013 3:23:24 PM UTC+1, new2web2py wrote: > > Hello all, im new to python and web2py. i have been trying to get > matplotlib working in web2py and fo

[web2py] Re: new in trunk: auth.settings.allow_delete_accounts

2013-05-12 Thread Alan Etkin
> Please help me check this feature: > auth.settings.allow_delete_accounts= True Tested with scaffolding app from an older version. It works. The submit button reads "Change profile" (or similar) after clicking in the delete confirmation dialog. How about changing the label to "Apply changes"?

Re: [web2py] login form registration problem with encoding

2013-05-12 Thread Massimo Di Pierro
Can you please post the complete traceback? On Thursday, 9 May 2013 01:41:30 UTC-5, Yebach wrote: > > The problem occurs when after filling the register form user clicks > register button. > > this is the basic problem of error > > (dp1 > S'output' > p2 > S" 'ascii' codec can't decode byte > 0xc

[web2py] new in trunk: auth.settings.allow_delete_accounts

2013-05-12 Thread Massimo Di Pierro
Please help me check this feature: auth.settings.allow_delete_accounts= True does what it says, allows to delete own account from profile page. -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop recei

[web2py] Re: matplotlib inserting my data

2013-05-12 Thread Alan Etkin
> > Hello all, im new to python and web2py. i have been trying to get > matplotlib working in web2py and followed the example at > http://www.web2pyslices.com/slice/show/1357/matplotlib-howto this is > working but i dont know how to plug my data into it. One option is to make the following be

[web2py] Re: how to collect tweets

2013-05-12 Thread Alan Etkin
> Where is the admin page? The admin app's twitter component action is at: /applications/admin/controllers/default.py (function twitter) The component view is the following: /applications/admin/views/default/twitter.load It is used by the site action here: /applications/admin/controllers/default

[web2py] Re: extra_fields not created

2013-05-12 Thread Niphlod
where did you put this snippet ? make sure it's before auth.define_tables() On Sunday, May 12, 2013 4:05:27 PM UTC+2, Robin Manoli wrote: > > I was trying on a pretty much empty copy of a welcome app to create my own > extra fields. Mainly I want to keep track of when a user registers and > cha

[web2py] matplotlib inserting my data

2013-05-12 Thread new2web2py
Hello all, im new to python and web2py. i have been trying to get matplotlib working in web2py and followed the example at http://www.web2pyslices.com/slice/show/1357/matplotlib-howto this is working but i dont know how to plug my data into it. return plot(data={'my plot':[(0,0),(1,1),(2,4),(3,9

[web2py] extra_fields not created

2013-05-12 Thread Robin Manoli
I was trying on a pretty much empty copy of a welcome app to create my own extra fields. Mainly I want to keep track of when a user registers and changes their profile, as well as keeping an avatar image. My code was working when creating a separate test table, but not when adding the fields us

Re: [web2py] login form registration problem with encoding

2013-05-12 Thread Massimo Di Pierro
Is possible your layout sets an encoding other than utf8? In that case accepted letter would be sent in a POST as Latin1 On Saturday, 11 May 2013 23:08:14 UTC-5, dhmorgan wrote: > > This sounds like an interesting problem. One I have no experience with, > however; yet it deserves an answer. > >

[web2py] Re: how to collect tweets

2013-05-12 Thread sasogeek
where is the admin page? On Sunday, 12 May 2013 13:22:51 UTC+1, 黄祥 wrote: > > for display tweets : > please check the admin page, there is web2py twitter tweets display in > there, check the code in admin app. if you want something like that please > take a look at this discussion : > https://g

[web2py] Re: how to collect tweets

2013-05-12 Thread 黄祥
for display tweets : please check the admin page, there is web2py twitter tweets display in there, check the code in admin app. if you want something like that please take a look at this discussion : https://groups.google.com/forum/?fromgroups=#!topic/web2py/rtUZeamzXp8 the different with the a

[web2py] how to collect tweets

2013-05-12 Thread sasogeek
I know this may not be the right place to ask this but i need help and it's the first place that came to mind. I'm trying to build an app that will display tweets from selected accounts. Problem here is that I don't know the first step and hence can't continue... collecting the tweets. I looked