Can't get phoca download plugin to display link

Phoca Download - download manager
tracysanz
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 03 Jun 2009, 23:23

Can't get phoca download plugin to display link

Post by tracysanz »

I have the phoca download plugin installed and enabled, but when I try to insert link, I see it on the front end as {phocadownload view=file|id=3|text=Beit Bylaws|target=s}, as if it isn't enabled. I'm inserting it into a regular article.
tracysanz
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 03 Jun 2009, 23:23

Re: Can't get phoca download plugin to display link

Post by tracysanz »

So I did some more testing - it's only happening when I'm not logged in on front end, and the file requires registered user or above. The issue is I have an article with a list of documents, which require you to be logged in. But if you're not logged in yet, you're seeing the phoca code for the plugin instead.
tracysanz
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 03 Jun 2009, 23:23

Re: Can't get phoca download plugin to display link

Post by tracysanz »

And now I see an option in the setup for each file, where you can choose to display inaccessible file, but choosing that still shows the phoca code, and not the download link.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48587
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Can't get phoca download plugin to display link

Post by Jan »

Hi, if you see the code in article, then the phoca download plugin is not installed or enabled.

Jan
If you find Phoca extensions useful, please support the project
Mike77
Phoca Member
Phoca Member
Posts: 13
Joined: 09 Dec 2012, 20:01

Re: Can't get phoca download plugin to display link

Post by Mike77 »

I have the same problem but with phoca gallery plugin.
I have installed and enabled both "Phoca Gallery plugin" and the "Phoca Gallery Button plugin". If i try to include any pictures from the gallery to a download description (within phoca download) it just shows the code in the frontend, instead of any pictures:
{phocagallery view=categories|imagecategories=1|imagecategoriessize=0}

EDIT: Just testet it: in article it works but in download description it don't. :cry:
I cant believe that phoca gallery don't work together with phoca download. :o
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48587
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Can't get phoca download plugin to display link

Post by Jan »

Hi, it is a content plugin only working in contents, see:
https://www.phoca.cz/documents/16-joomla ... t-articles
Jan
If you find Phoca extensions useful, please support the project
Mike77
Phoca Member
Phoca Member
Posts: 13
Joined: 09 Dec 2012, 20:01

Re: Can't get phoca download plugin to display link

Post by Mike77 »

Thank you Jan for your Reply. I see what code i have to change, but in which file do i have to look for it?
I want to show Gallery Pictures inside of the Description for Downloads. But i can't find either the corresponding line, nor even the php file...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48587
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Can't get phoca download plugin to display link

Post by Jan »

Hi, just search the code for "description" string

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