jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => General => Topic started by: Skeeve on 27.11.2017 17:35:57

Title: How to create a direct download link
Post by: Skeeve 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
Title: Re: How to create a direct download link
Post by: ColinM 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
Title: Re: How to create a direct download link
Post by: Skeeve 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
Title: Re: How to create a direct download link
Post by: ColinM 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
Title: Re: How to create a direct download link
Post by: Skeeve 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
Title: Re: How to create a direct download link
Post by: ColinM 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
Title: Re: How to create a direct download link
Post by: Skeeve 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