Bug in Phoca Download button Plugin on Admin Side Only

Phoca Download - download manager
usdc_or
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 28 Feb 2015, 01:08

Bug in Phoca Download button Plugin on Admin Side Only

Post 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:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, yes, you right, thank you very much for this info, I will fix it in next version.

Thank you, Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, fixed in version 3.1.0

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