Phoca Download Plugin Options for description?

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
designinside
Phoca Member
Phoca Member
Posts: 14
Joined: 14 Nov 2011, 17:20
Location: Germany

Phoca Download Plugin Options for description?

Post by designinside »

I tried this in a K2 item:

Code: Select all

{phocadownload view=file|id=8|target=b|detail=1|displayname=1|displaydetail=1|displaydownload=1}
Actually I only have this code so far and it works:

Code: Select all

{phocadownload view=file|id=8}
But now as I want to display at least the description I noticed that all other params dont do anything actually.

I tried this in usual Joomla article but its not working there too.

I actually have to update some custom code in the K2 override:

From:

Code: Select all

<?php echo JHTML::_('content.prepare', '{phocadownload view=file|id='.$extrafields[11].'}'); ?>
to something like:

Code: Select all

<?php echo JHTML::_('content.prepare', '{phocadownload view=file|id='.$extrafields[10].'|detail=1|displayname=1|displaydetail=1|displaydownload=1}'); ?>
Whats the problem?

My Sys:
Joomla! 3.3.3 Stable [ Ember ]
Phoca Download 3.0.5
Phoca Download Plugin 3.0.1
Phoca Download Button Plugin 3.0.1
K2 2.6.8
Last edited by designinside on 26 Aug 2014, 17:30, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Download Plugin Options not working?

Post by Jan »

Hi, see:
https://www.phoca.cz/documents/51-phoca- ... oad-plugin

there is no parameter like:
detail
displayname
displaydetail
displaydownload


Jan
If you find Phoca extensions useful, please support the project
designinside
Phoca Member
Phoca Member
Posts: 14
Joined: 14 Nov 2011, 17:20
Location: Germany

Re: Phoca Download Plugin Options not working?

Post by designinside »

I cant find the page again but I found the params on your page.
So any possibilities to achive displaying the description?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9437
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Phoca Download Plugin Options not working?

Post by Benno »

Hi,
I think you mean this site: https://www.phoca.cz/documents/14-phoca- ... ery-plugin But this is for Phoca Gallery Plugin.. :(

Kind regards,
Benno
designinside
Phoca Member
Phoca Member
Posts: 14
Joined: 14 Nov 2011, 17:20
Location: Germany

Re: Phoca Download Plugin Options not working?

Post by designinside »

Yeah, bad luck! :cry:

Any way to get this worked out by you?

I´m asking because a client maybe must have this option. So what would it cost if you implement this option?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Download Plugin Options for description?

Post by Jan »

Hi, yes, this needs to be customized :-( There is no cost problem but time problem to making such customization so I think you need to find someone with php skills who can customize it :idea:

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