Menu : Download view

Phoca Download - download manager
User avatar
romain3395
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 31 May 2018, 18:25

Menu : Download view

Post by romain3395 »

Hi,

I'm trying to add a "Download File" link in my menu.
So I've created a menu item Phoca download of type Download View, but there is no place to select a File.
The generated URL is read only and set to : index.php?option=com_phocadownload&view=download


My PDF file has been saved with the Phoca Download component
I'm using Joomla 3.8

Do you have any idea ?
Thanks.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9112
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Menu : Download view

Post by Benno »

Hi,
choose: 'Menu Item Type'=File View
and select the file you want to offer for download.

Kind regards,
Benno
User avatar
romain3395
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 31 May 2018, 18:25

Re: Menu : Download view

Post by romain3395 »

For File view, it will work, but then, I will have an intermediate page with a Download button.
What is the meaning of the Download view ?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9112
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Menu : Download view

Post by Benno »

HI,
ok, if you don't like this intermediate page, create a menu link to Phoca Download Component (Type List of Categries).
This is also possible with a hidden menu, if you don't want a visible menu link to Phoca Download Component.
Go to the Frontend and navigate to the file you want to offer for download. Hover over the file and choose 'Copy Link Address' by right mouse click. Then create a new menu item type 'URL (intern or extern URL)' and paste the link address.
Now you have the direct download menu item without intermediate step.

Kind regards,
Benno
User avatar
romain3395
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 31 May 2018, 18:25

Re: Menu : Download view

Post by romain3395 »

ok, thank you, I will apply this workaround.
But I have still not understood the concept of Download view, if no file can be selected, is it a bug ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Menu : Download view

Post by Jan »

Hi,

In Phoca Dowload, you can access a file through direct link (with security token) - so such file is not visible for public but only for those who knows the link and this view is assigned to these files - to files accessible per direct token link.

If you create a link to this view, you will get info: File Not Found - this is because the security token is missing.

So this link is used for direct link to files with security token.

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