Page 1 of 1
Menu : Download view
Posted: 31 May 2018, 18:36
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.
Re: Menu : Download view
Posted: 01 Jun 2018, 13:40
by Benno
Hi,
choose: 'Menu Item Type'=File View
and select the file you want to offer for download.
Kind regards,
Benno
Re: Menu : Download view
Posted: 01 Jun 2018, 13:56
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 ?
Re: Menu : Download view
Posted: 01 Jun 2018, 14:43
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
Re: Menu : Download view
Posted: 01 Jun 2018, 15:47
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 ?
Re: Menu : Download view
Posted: 02 Jun 2018, 10:38
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