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
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
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
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
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
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
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
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
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
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')))
>
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
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"
>
--~--~
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
13 matches
Mail list logo