File Description in Plugin Output
Posted: 04 May 2017, 21:34
I was trying to get the description of files to show when {phocadownload view=filelist|id=XX} is initiated. I tried several methods but none seem to work. in the content plugin file phocadownload.php I have the code below on line 305
I am running joomla version 3.7 and phocadownload version 3.1.2 and content plugin version 3.1.2
Code: Select all
if ($iMime == 1) {
$description = $item->description;
$output .= '<div class="pd-filename phocadownloadfilelistitem phoca-dl-file-box-mod">'. $imageFileName['filenamethumb']. '<div class="pd-document'.(int)$iSize.'" '. $imageFileName['filenamestyle'].'><a href="'. JRoute::_($link).'" '. $targetOutput.'>'. $textOutput.'</a><br />$description</div></div>';