Phoca Download Plugin

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
mikoo
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 02 Aug 2022, 09:58

Phoca Download Plugin

Post by mikoo »

Hello Phoca Team,

we use the following shortcode in our article:

Code: Select all

{phocadownload view=file|id=5|target=s}
Unfortunately, the generated Download Link does not work.

/index.php/de/component/phocadownload/file/5-bmecat-2022?catid=2:elektronische-produktdaten&Itemid=460

It directs us to the homepage : (

You noted this on your documentation
>>If you are using SEF, be sure, you have created menu link to Phoca Download so the article links can get Itemid from this menu link.<<
https://www.phoca.cz/documents/51-phoca ... oad-plugin

Has it to do with the error?

In Menus: Edit Item we choosed
Menu Item Type Single Article
Select Article our Article (where the shortcode is in!)

Thanx for help.

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

Re: Phoca Download Plugin

Post by Jan »

Hi, you should not create a menu link to article or articles, but additional menu link to Phoca Download, so the URL can be properly created.

Jan
If you find Phoca extensions useful, please support the project
mikoo
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 02 Aug 2022, 09:58

Re: Phoca Download Plugin

Post by mikoo »

Thanx a lot!

We created an additional Menu Type: Download View

Now the Download is working ✔
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Download Plugin

Post by Jan »

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