[web2py] Re: google analytics

2016-07-02 Thread Jitun John
I think you can use as follows ## your http://google.com/analytics id response.google_analytics_id = 'UA-80XX-1' On Tuesday, May 6, 2014 at 9:14:26 PM UTC+5:30, lucas wrote: > > if we are using the analytics.min.js one, do we include the "UA-" in > the response.google_analytics_id string va

[web2py] Re: How to use the administrator account to check error for apache + web2py framework?

2016-07-02 Thread Jing Lu
Thanks, isi_jca!! Best, Jing On Saturday, July 2, 2016 at 8:26:36 AM UTC-4, isi_jca wrote: > > Hi!!! > > 1°) Create an item menu like this: > > ('Ticket de Errores', URL()==URL('tickets', 'errors'), > URL('tickets','errors')), > > > 2°) Copy tickets.py in controller > > 3°) Extract tickets.7z i

[web2py] Re: Question on BEAUTIFY with list of tuples

2016-07-02 Thread DNeuman
No - sorry. And I understand there is not much more you can do to help. I'll work a bit more on a test case. But I may have to let this drop if I can't recreate it. I appreciate your help so far. At this point, I think I have a few workarounds - avoid BEAUTIFY, or try to use an ordered dict.

[web2py] Re: Question on BEAUTIFY with list of tuples

2016-07-02 Thread Anthony
Is it possible for you to provide the code (and input) that generates the data structure that causes the hang? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues)

[web2py] Re: auth, db access via current in module

2016-07-02 Thread lucas
i wrote a test app just to reproduce the bug and in doing that i was able to see the error of my ways. i am an id10t at times. sorry for the bother. lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code

[web2py] Re: Question on BEAUTIFY with list of tuples

2016-07-02 Thread DNeuman
Hi Anthony, Thanks for the pointer. I took each variable in turn and fed it through return dict(foo = variable1) ran & check for hang return dict(foo = variable2) ran & check for hang... Narrowed it down to 3 lists of tuples. In all cases the view code was: {{=BEAUTIFY(foo)}}

[web2py] Re: auth, db access via current in module

2016-07-02 Thread Anthony
Hard to say without seeing the code. Don't see the connection between this and current or using a module. Anthony On Saturday, July 2, 2016 at 8:27:02 AM UTC-4, lucas wrote: > > hello one and all, > > i read the article in the book: > http://web2py.com/books/default/chapter/29/4#Sharing-the-glo

[web2py] Re: reading values from request.vars

2016-07-02 Thread Anthony
On Saturday, July 2, 2016 at 8:35:27 AM UTC-4, isi_jca wrote: > > Hi!!! > > Try using > > ajax('{{=URL('insert_data')}}',['opt1','opt2','opt3','txtt1'],':eval'); > That doesn't seem relevant to the question. OP has the form values in several lists and just needs a way to iterate over the lists to

[web2py] Re: Use a controller with upload and auth.wiki, page is unresponsive

2016-07-02 Thread Anthony
Please see http://web2py.com/books/default/chapter/29/12/components-and-plugins#Ajax-post-does-not-support-multipart-forms. Anthony On Saturday, July 2, 2016 at 9:18:33 AM UTC-4, Daniel Vogel wrote: > > Hi > > I use a controller to upload files. > - If I use the function native (without auth.wik

[web2py] Re: Question on BEAUTIFY with list of tuples

2016-07-02 Thread Anthony
Note that locals() is a dictionary including all objects defined in the local scope (i.e., your controller function). Perhaps something else in locals() is causing the problem. Maybe trying returning an explicitly constructed dictionary instead: return dict(bob=bob) Otherwise, without seei

[web2py] Use a controller with upload and auth.wiki, page is unresponsive

2016-07-02 Thread Daniel Vogel
Hi I use a controller to upload files. - If I use the function native (without auth.wiki), it works - If I use the function inside the auth.wiki to extend my wiki pages and I don't use the upload field, it works - If I use the function inside the auth.wiki to extend my wiki pages and I use the u

[web2py] Re: reading values from request.vars

2016-07-02 Thread isi_jca
Hi!!! Try using ajax('{{=URL('insert_data')}}',['opt1','opt2','opt3','txtt1'],':eval'); Regards El viernes, 1 de julio de 2016, 17:06:06 (UTC-3), Dave S escribió: > > > > On Friday, July 1, 2016 at 10:47:22 AM UTC-7, ktesr...@gmail.com wrote: >> >> Anthony, >> >> can you share if you have an

[web2py] auth, db access via current in module

2016-07-02 Thread lucas
hello one and all, i read the article in the book: http://web2py.com/books/default/chapter/29/4#Sharing-the-global-scope-with-modules-using-the-current-object and so i added to my db.py model file after the assignment of db and auth: from gluon import current current.db, current.auth = db, auth

[web2py] Re: How to use the administrator account to check error for apache + web2py framework?

2016-07-02 Thread isi_jca
Hi!!! 1°) Create an item menu like this: ('Ticket de Errores', URL()==URL('tickets', 'errors'), URL('tickets','errors')), 2°) Copy tickets.py in controller 3°) Extract tickets.7z in view Regards. El jueves, 30 de junio de 2016, 18:25:19 (UTC-3), Jing Lu escribió: > > Dear Web2py developers,