Question about open download in a new tab

Phoca Download - download manager
chrishoefliger
Phoca Member
Phoca Member
Posts: 16
Joined: 19 Aug 2017, 09:29

Re: Question about open download in a new tab

Post by chrishoefliger »

Just a quick update: making it a direct link doesn't work for me either. I've given up and de-installed the component as it proved to be mostly useless for what I had in mind. I solved the problem by using orinary links to my downloadables and these links can be made to do whatever I want them to.
Flyer04
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 30 Mar 2022, 10:58

Re: Question about open download in a new tab

Post by Flyer04 »

Thanks Jan

I'll see how it looks after the next Joomla update:

Thank you for your help

ralph
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48536
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Question about open download in a new tab

Post by Jan »

chrishoefliger wrote: 31 Mar 2022, 08:01 Just a quick update: making it a direct link doesn't work for me either. I've given up and de-installed the component as it proved to be mostly useless for what I had in mind. I solved the problem by using orinary links to my downloadables and these links can be made to do whatever I want them to.
Hi,

If you set direct link in Phoca Download, then it is in fact "ordinary link" and has nothing to do with Phoca Download system. The link goes directly the to the file on the server without any involvement of Phoca Download.

Jan
If you find Phoca extensions useful, please support the project
pat01
Phoca Member
Phoca Member
Posts: 32
Joined: 22 May 2013, 16:06

Re: Question about open download in a new tab

Post by pat01 »

Hello Jan

I have the same issue:

If I use the PD Plugin I can add following parameter: target=b
{phocadownload view=file|id=1234|text=File Title|target=b}

This will ad _blank to the href tag.

But if I list the Downloads by using a menu link of type "List PD categories", then _blank does not get added to the download links.
It would be great to have such parameter in the global options, that would allow to select between _blank and _self.

Patrick
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48536
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Question about open download in a new tab

Post by Jan »

Hi, the target is only a part of the plugin so this needs to be customized in the code for the component :-(

Jan
If you find Phoca extensions useful, please support the project
Post Reply