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
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. ;)
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
QuoteIn the loger term I would suggest that this becomes a standard option in the Modules.
Is already added in the v6 release.
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
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.
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
No bug. Just a user error. It's working again now.
Here is the (slightly improved version) once again.
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.
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
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. ;)