[web2py:13157] Re: pic thumbnail

2008-12-08 Thread compte...@gmail.com
I see now that the post I was looking at that the thumbnail was a field they had in their table. It looks like if I want a thumbnail, I would need to make some changes in the upload code that takes a copy of item.image, processes it and then puts that copy/thumbnail in to the db. So there are tw

[web2py:13392] Re: t3 styles

2008-12-11 Thread compte...@gmail.com
looks like there already is: in t3. Maybe have your style edit routine pull form there. oh wait, that might not work on gae :( -wj On Dec 11, 1:47 pm, "Wes James" wrote: > Massimo, > > Would you consider also putting the t3 styles in a file so you can just put: > > href="/welcome/static/s

[web2py:13396] Re: title getting chopped in IE7 and firebug shows why??

2008-12-11 Thread compte...@gmail.com
Massimo, Try this to fix IE chop text problem: In .title and .subtitle change: padding-top: 40px; padding-left: 50px; to: padding: 40px 0 10px 50px; -wj On Dec 11, 2:22 pm, "Wes James" wrote: > Massimo, > > As I mentioned before in IE7 the T3 title gets chopped on the bottom. > I was in fi

[web2py:13421] Re: t2.display in lambda

2008-12-11 Thread compte...@gmail.com
ok this kind of works: db.foto.represent=lambda foto: TABLE(A(foto.title,_href=t2.action ('wiki/edit',foto.id)), A(IMG(_width=200,_src=URL(r=request,f='download',args=[foto.image])), _href=t2.action('wiki/display',foto.id))) and i had to create a display page, then i could click on it display p

[web2py:14367] Re: moving data from sqlite to postgres

2008-12-31 Thread compte...@gmail.com
Nevermind. This was the problem: I had this in my page: {{form=t2.update(db.student,stus[0].id)}} and I changed it to: {{form=t2.update(db.student,db.student.id==stus[0].id)}} and now it works fine :) The second makes more sense - odd the first one works with sqlite. -wj On Dec 31, 3:43 p

[web2py:15466] Re: latest trunk

2009-01-26 Thread compte...@gmail.com
I changed app name from 0 (zero) to z and it works. But when I do the first registration, I keep getting "Invalid email" -wj On Jan 26, 11:15 am, Wes James wrote: > Massimo, > > I'm trying the new stuff you have in web2py... > > I had to change from: > > from gluon.tools import Mail, Auth, Cru

[web2py:16315] Re: SQLRows how to get to pieces?

2009-02-13 Thread compte...@gmail.com
ok - i'm looking in sqlhtml.py and getting some more ideas - along with wind-ide Where could I learn how to better access objects in python? In wing-ide, for instance it shows: rows gluon.sql.SQLRows __dict__ dict _dbgluon.sql.dict Where can I learn

[web2py:17097] Re: ANN: t3 foto galleria

2009-02-27 Thread compte...@gmail.com
Forgot to mention, I used f...@galleria.org for the inital email address and foto for the password. (the email is fake) or you can just register and add your own of course. -wj On Feb 27, 1:58 pm, Wes James wrote: > T3 Foto Galleria > > Photo Gallery built on T3 (plus some mods) > > 1. When a

[web2py:18217] Re: use buildout for web2py

2009-03-17 Thread compte...@gmail.com
More info: http://pypi.python.org/pypi/zc.buildout On Mar 17, 10:31 am, Wes James wrote: > I know some of you have used plone.  Some of you have mentioned (as I > also) if we could get web2py in to pypi.  With buildout script, all > necessary pieces can be brought in to use.  I.e., when running

[web2py:20354] Re: can form.latest.var be set and used?

2009-04-23 Thread compte...@gmail.com
never mind on this. I was using .latest when I should be setting form [0][0][1][0]. for the field instead thx -wej On Apr 23, 9:45 am, Wes James wrote: > I have; > > def atask(): >     form=crud.create(db.task,onaccept=lambda form: > jDiv.set(jDiv.trigger('#target_totals','load'))) >    

[web2py:21180] Re: oops

2009-05-04 Thread compte...@gmail.com
What would people think about having a wiki page with this content? (just a thought) Then the email would only be, maybe, updates and a link to the wiki page?? thx, -wes On May 4, 11:00 am, Wes James wrote: > oops - i wasn't going to send that web2py how to get help yet - google mail > send i

[web2py:21688] Re: wiki password reset error

2009-05-12 Thread compte...@gmail.com
Sorry, I went to the wrong wiki (do you need to take the old one down?) old one: https://mdp.cti.depaul.edu/web2py_wiki/default/wiki/main -wes On May 12, 9:00 am, Wes James wrote: > Massimo, > > I was trying to do a password reset on the wiki, but it says "Unable to Send > Email" > --~--~

[web2py:21697] Re: wiki and rest

2009-05-12 Thread compte...@gmail.com
ok, I see on the wiki Documentation How-To why reST is being used. I guess it wouldn't be so bad if one is starting out their document thinking in this format. -wes On May 12, 4:24 pm, Wes James wrote: > What was the reason form using rest on the wiki?  (I looked on the list > archive, but don