Forums / Setup & design / How to create a download link to a PDF-File?

How to create a download link to a PDF-File?

Author Message

Michael Bolien

Monday 07 April 2003 3:53:43 am

Hi everybody,

I'm trying to create a link to a PDF-File. Did create a new class "PDF" (props: name, description, binary file), but including the URL of that file always shows [ezobjectcontentclass].

What can I do?

Regards, Michael

PS: I posted to the developer's forum, too.

Michael Bolien

Monday 07 April 2003 8:57:57 am

Well, took a closer look at "my intranet" .....

Thx
Michael

Paul Borgermans

Monday 07 April 2003 9:56:22 am

Pls, contribute to the community docs

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Matthew Hare

Tuesday 20 January 2004 2:04:39 am

Hi People,
Could some1 please tell me how to create a download link so that it will say. Open or save as or cancel.
Thanks a bunch
Matthew

Paul Forsyth

Tuesday 20 January 2004 2:52:50 am

To reference a download link you need to access the content of the ezbinaryfile class. Have a look at the ez template:

design/standard/templates/content/datatype/view/ezbinaryfile_direct.tpl

paul