Download file to open in new window

Phoca Download - download manager
Veronika
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 16 Feb 2009, 02:26

Download file to open in new window

Post by Veronika »

Hi;
I am would like to open a new window (or at least tab) for the download file, but cannot find where to do it!
BTW Excellent product!
Thank you. :D
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Download file to open in new window

Post by Jan »

Hi, sorry, I don't understand, if you click on download, no window will be opened, but only the download manager popup ?
If you find Phoca extensions useful, please support the project
Veronika
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 16 Feb 2009, 02:26

Re: Download file to open in new window

Post by Veronika »

I have a menu which indicates in 'Parameters Component' - External Download Link = Blank
I have the same indicated on the articles that are located in the phocadownload folder
When you go to the menu, select "Download PDFs" it gives you a page indicating the Section(s) with the Categories. When you click on a category, it gives you a list of articles.
When you click on the article name (or on the download icon) it open in the same window/tab.
I would like it to open in a new tab/window so that the visitor will not loose the place they were in.

Hope this make sense.
Using Joomla 1.5.9 and com_phocadownload _v1.0.6_beta

Dekuji
Veronika
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Download file to open in new window

Post by Jan »

Hi, if you click on some file, then no window or tab should be opened, see e.g.:

https://www.phoca.cz/download/category/4 ... -component

Jan
If you find Phoca extensions useful, please support the project
Veronika
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 16 Feb 2009, 02:26

Re: Download file to open in new window

Post by Veronika »

But I have a check mark for Direct Link:

http://www.skygardencondo.com/reading-f ... nservation

and when they click on the link, they leave the site as PDF takes over the whole page. I would like the PDF to open inside joomla.

Tx
Veronika
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Download file to open in new window

Post by Jan »

Hi, now I understand...

If you use direct link to some file, then there don't work rules of your site but rules of site where the link goes... so if you will use direct link into some other site, this site needs to have some behaviours to not display PDF files but give them to download...

see e.g.:

https://www.phoca.cz/download/category/1 ... -component

There are direct links to joomlacode.org... joomlacode.org gives the files to the browser for downloading so everything is ok. But if it does not, then files will be not downloaded

If you want to give PDF files for downloading:
- you need to have this files on your site, so Phoca Download rules work
- or you can use direct link to some other site but this site needs to support downloading PDFs

Jan
If you find Phoca extensions useful, please support the project
Veronika
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 16 Feb 2009, 02:26

Re: Download file to open in new window

Post by Veronika »

But these 8 PDF files are in my website in a folder phocadownload...
Veronika
Veronika
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 16 Feb 2009, 02:26

Re: Download file to open in new window

Post by Veronika »

Veronika wrote:But these 8 PDF files are in my website in a folder phocadownload...
Veronika

Any suggestions??
tx
Veronika
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Download file to open in new window

Post by Jan »

Hi, please let me know the site, where the links are displayed...

If you will use direct link, then no Phoca Download rules are applied... so the direct link is the same as link to other site... it means that the direct link links direct to the file without any Phoca Download function... if it is not direct, then it links to Phoca Download function which tells the browser that it should give the file for the download...

Jan
If you find Phoca extensions useful, please support the project
Veronika
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 16 Feb 2009, 02:26

Re: Download file to open in new window

Post by Veronika »

Test site at: http://shevchenko.comyr.com/pdfs-downloads

I have Phoca global set-up: External Download Link : Blank
I have a tick on each page for Direct Link

tx
Veronika
P.S.
I was attempting to include JosDewPlayer plugin on the download page, but it would not take. Should it work there as on other article pages?
Post Reply