Forums / Setup & design / How to do a "download link"

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

How to do a "download link"

Author Message

Hugo Oliveira

Wednesday 24 January 2007 9:10:54 am

Hi everyone

How can I write the href attribute of an A element (pointing to a file) so that when a user click's it it starts downloading automatically?

I can't find any information related to this.

Thanks.

Łukasz Serwatka

Thursday 25 January 2007 11:22:19 pm

Hi,

Use example from this topic:
http://ez.no/community/forum/setup_design/direct_link_to_download_file/re_direct_link_to_download_file__1

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog