jDownloadsownloads.com

Advertisement
Advertisement:

Author Topic: How to create a direct download link  (Read 252 times)

0 Members and 1 Guest are viewing this topic.

Offline Skeeve

  • Newbie
  • *
  • Posts: 6
How to create a direct download link
« on: 27.11.2017 17:35:57 »
Hi - I searched for hours (if not days) for a solution  :P


I am able by now to create direct downloads by "{jd_file file==18}" but how can I make a link to any text that directly downloads that file?
Thanks Stefan

Offline ColinM

  • Moderator
  • *
  • Posts: 3.132
Re: How to create a direct download link
« Reply #1 on: 27.11.2017 19:03:30 »
Hi
I presume you are wanting to put a direct download link in an article.
If you are please look at
http://www.jdownloads.net/documentations/item/using-the-content-plugin-in-articles-and-modules
Either way please let us know
Colin

Offline Skeeve

  • Newbie
  • *
  • Posts: 6
Re: How to create a direct download link
« Reply #2 on: 28.11.2017 15:01:18 »
Hi Colin,
I was already at this stage but thanks anyhow.

The problem that I have is, that I want any text to be able to contain the link to the file.
Thanks
Stefan

Offline ColinM

  • Moderator
  • *
  • Posts: 3.132
Re: How to create a direct download link
« Reply #3 on: 29.11.2017 16:57:17 »
Stefan
At this moment in time I do not think it is feasible.  So I have made a Suggestion
See http://www.jdownloads.com/forum/index.php?topic=9587.0
Colin

Offline Skeeve

  • Newbie
  • *
  • Posts: 6
Re: How to create a direct download link
« Reply #4 on: 30.11.2017 17:02:36 »
Colin,
That sounds a little bit better than what I had so far!
Do I understand your post right that you made a feature request for a layout with a download button? I searched the internet and found a plugin like that only from Phoca and that will probably not fit for jDownloads, right?

Cheers
Stefan

Offline ColinM

  • Moderator
  • *
  • Posts: 3.132
Re: How to create a direct download link
« Reply #5 on: 30.11.2017 22:14:06 »
Stefan,
Would you like a layout which just had a Download Button?  One can style the button with CSS in the jdownloads_custom.css file if the standard versions are not suitable.

The sugestion is if you highlight text such as 'Click here' then that text would appear with the default link colour and clicking on it would initiate the dowloading sequence.
Colin

Offline Skeeve

  • Newbie
  • *
  • Posts: 6
Re: How to create a direct download link
« Reply #6 on: 05.12.2017 08:28:04 »
Colin,
I did modify the layout accordingly and it is what I needed. Thanks for showing me the way!

Stefan

 

Advertisement