jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.x - (This is the current version!) => General => Topic started by: ArticosDesign on 27.02.2026 12:25:38

Title: How to open a link of module Latest Downloads in a New Window.
Post by: ArticosDesign on 27.02.2026 12:25:38
Hi everyone,

I'd like to ask about something that I'm sure is easy to modify: in the "Latest Downloads" module of jDownloads, I'd like it so that when I click on one of the downloads in the list, it opens in a new window (target="_blank"). If you'd like, please tell me how I can do it myself and I'll try.

Cheers and keep up the good work!
Pedro
Title: Re: *** How to open a link of module Latest Downloads in a New Window.
Post by: Arno on 27.02.2026 14:27:55
Try this file. Copy it to /modules/mod_jdownloads_latest/tmpl/
and overwrite the old one.

Please use the version I've attached in my later post below.

But it is not changed after an update. So you should use an templates overwrite.  ;)
Title: Re: *** How to open a link of module Latest Downloads in a New Window.
Post by: ColinM on 27.02.2026 18:40:40
Arno
In the loger term I would suggest that this becomes a standard option in the Modules.
So please add to the 'futures' list
Bestt wishes
Colin
Title: Re: *** How to open a link of module Latest Downloads in a New Window.
Post by: Arno on 28.02.2026 10:14:40
QuoteIn the loger term I would suggest that this becomes a standard option in the Modules.

Is already added in the v6 release.
Title: Re: *** How to open a link of module Latest Downloads in a New Window.
Post by: ArticosDesign on 19.03.2026 12:22:55
Quote from: Arno on 27.02.2026 14:27:55Try this file. Copy it to /modules/mod_jdownloads_latest/tmpl/
and overwrite the old one.

But it is not changed after an update. So you should use an templates overwrite.  ;)

Hi @Arno @ColinM

The Latest module is failing again; it's not opening the download in a new browser tab.

I've tried installing the latest version of JDownloads again, but it still doesn't work.

I've also tried replacing the "default.php" file you sent me in the folder: /modules/mod_jdownloads_latest/tmpl/, but it still fails. It opens the download in the same window, and the worst part is that once the download opens, when I go back in the browser, the user has to log in again.  :-\

Please any solution?

Best Regards,
Pedro
Title: Re: *** How to open a link of module Latest Downloads in a New Window.
Post by: Arno on 19.03.2026 16:25:02
Hi Pedro,
Which version of jDownloads are you currently using?

And which version were you using before, when my customisation was working?

Edit:
Did you follow that advice?
QuoteBut it is not changed after an update. So you should use an templates overwrite. 
Title: Re: How to open a link of module Latest Downloads in a New Window.
Post by: ArticosDesign on 19.03.2026 16:33:20
Quote from: Arno on 19.03.2026 16:25:02Hi Pedro,
Which version of jDownloads are you currently using?

And which version were you using before, when my customisation was working?

Edit:
Did you follow that advice?

Hi Arno,

I'm using the latest version you recently added.

Yes when you customize work good, but when updated to last version, open links in _blank don't work.

Check the private message I sent you today.

Regards,
Pedro
Title: Re: How to open a link of module Latest Downloads in a New Window.
Post by: Arno on 20.03.2026 11:34:18
No bug. Just a user error. It's working again now.

Here is the (slightly improved version) once again.
Title: Re: How to open a link of module Latest Downloads in a New Window.
Post by: ArticosDesign on 20.03.2026 11:44:56
Quote from: Arno on 20.03.2026 11:34:18No bug. Just a user error. It's working again now.

Here is the (slightly improved version) once again.

Ok Arno,

I send more later a donation for your work.

many many thanks.
Title: Re: How to open a link of module Latest Downloads in a New Window.
Post by: ColinM on 22.03.2026 14:24:21
Hi
I am a little confused!! Which parameter do you use to set in the Latest module so that the downloaded file opens in a new window/tab.  Or is this a special version of the Latest module from Arno?
Best wishes
Colin
Title: Re: How to open a link of module Latest Downloads in a New Window.
Post by: Arno on 22.03.2026 18:53:19
Hi Colin,
QuoteOr is this a special version of the Latest module from Arno?
Yes, that's exactly right. Just a customisation for a single user.  ;)