Bug in Phoca Download button Plugin on Admin Side Only
Posted: 28 Feb 2015, 01:21
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):
should be this:
You're welcome. 
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);
Code: Select all
$this->assignRef('tmpl', $tmpl);