jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Topic started by: RalfF on 31.07.2017 15:19:25

Title: Separate a link
Post by: RalfF on 31.07.2017 15:19:25
Hi to all,
I want to link a lot of files within jDownloads.
The paths consist of a static part (e.g. "[Internal DNS or IP]/main_download_directory/") and a dynamic part (e.g. "file1.pdf" or "subdirectory/file2.docx").

Is it possible to make a workaround that I only have to store the dynamic part of the path and jDownloads combines the two parts within the output algorithm?

Thanks a lot in advance for any idea.
Title: Re: Separate a link
Post by: Arno on 31.07.2017 15:35:04
Hi,
I do not understand why you this need and it I think it is not possible.
It exist some Joomal extension where you can manipulate URL's. Maybe could this be helpful.
Title: Re: Separate a link
Post by: RalfF on 31.07.2017 15:59:33
Thank you for your immediate response, Arno.

The reason is that I sometimes like it quick and dirty ;-) 
100 short file names are easier to handle than 100 long file names.

And it is not only me putting the files into the system - and it makes my life easier serving a simple solution.

I'll take a look at the extensions.

But pls. can you tell me in which file this string
"/index.php/component/jdownloads/summary/5-ad-testdirectory/3-testfile-linked"
is created and linked to the individual database entry ??


Thanks in advance
Ralf 
Title: Re: Separate a link
Post by: Arno on 31.07.2017 21:26:23
The qustion is whether the real link shall be visible.
When this is not a problem could you deactivate this option on the pic.
Quote
But pls. can you tell me in which file this string
"/index.php/component/jdownloads/summary/5-ad-testdirectory/3-testfile-linked"
is created and linked to the individual database entry ??
See /components/com_jdownloads/views/summary/tmpl/default.php

 

[gelöscht durch Administrator]
Title: Re: Separate a link
Post by: RalfF on 01.08.2017 08:14:56
Great Arno, thanks a lot.
I will take a look at it.

Best,
Ralf