Massimo,
At the moment this is the only static file I serve, so web2py does all
the work.
Annet.
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.
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.
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
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
5 matches
Mail list logo