[web2py] Re: tos download [closed]

2010-06-10 Thread annet
Massimo, At the moment this is the only static file I serve, so web2py does all the work. Annet.

[web2py] Re: tos download

2010-06-09 Thread mdipierro
Mind this works if web2py is serving static files, not if apache does. On Jun 9, 1:06 am, annet wrote: > Massimo, > > I used: > > > {{=A('terms of service',_href=URL(r=request,c='static',f='cms/files/ > > tos_fitwise.pdf',vars=dict(attachment=True)))}} > > and it works, so problem solved thanks.

[web2py] Re: tos download

2010-06-08 Thread annet
Massimo, I used: > {{=A('terms of service',_href=URL(r=request,c='static',f='cms/files/ > tos_fitwise.pdf',vars=dict(attachment=True)))}} and it works, so problem solved thanks. Annet.

[web2py] Re: tos download

2010-06-08 Thread mdipierro
or better {{=A('terms of service',_href=URL(r=request,c='static',f='cms/files/ tos_fitwise.pdf',vars=dict(attachment=True)))}} On Jun 8, 1:23 pm, mdipierro wrote: > try > > {{=A('terms of service',_href=URL(r=request,c='static',f='cms/files/ > tos_fitwise.pdf?attachment'))}} > > On Jun 8, 1:02 p

[web2py] Re: tos download

2010-06-08 Thread mdipierro
try {{=A('terms of service',_href=URL(r=request,c='static',f='cms/files/ tos_fitwise.pdf?attachment'))}} On Jun 8, 1:02 pm, annet wrote: > In a view I have a link which should enable users to download the > terms of service: > > {{=A('terms of service',_href=URL(r=request,c='static',f='cms/files