Page 1 of 1

Bug in Phoca Download button Plugin on Admin Side Only

Posted: 28 Feb 2015, 01:21
by usdc_or
I found the problem whist attempting to use the button to insert a filelist. It gave the screen to pick a file. So, basically, the button only works properly if inserting the code for a category, as the array $tmpl is empty so it can't find the type.

This is the fix:
Only in admin side at line 120 in /administrator/components/com_phocadownload/views/phocadownloadlinkfile/view.html.php

This (which looks like the way it is handled for site-side):

Code: Select all

$this->assignRef('tmpl',		$this->t);  
should be this:

Code: Select all

$this->assignRef('tmpl',		$tmpl); 
You're welcome. :wink:

Re: Bug in Phoca Download button Plugin on Admin Side Only

Posted: 03 Mar 2015, 12:30
by Jan
Hi, yes, you right, thank you very much for this info, I will fix it in next version.

Thank you, Jan

Re: Bug in Phoca Download button Plugin on Admin Side Only

Posted: 20 Oct 2015, 00:04
by Jan
Hi, fixed in version 3.1.0

Jan