Joomlatools Support Center

File Description in Doclink

/plugins/content/doclink/view/default.html.php

In the Doclink template we have code for file size:

<? // Add document size ?>
<? if ($entity->size && (!isset($show_size) || $show_size !== false)): ?>
<span>(<!--
--><?= helper('com://admin/docman.string.humanize_filesize', array('size' => $entity->size)) ?><!--
-->)</span>
<? endif; ?>

How would I call the Description of the file?

<?= helper('com://admin/docman.string.humanize_fieldset', array('description' => $entity->description)) ?>

Many thanks

Answer

Posted 2 years ago by Arunas Mazeika Staff

Hello Jeffrey,

There's an specific developer support section for asking code related questions. Developer support is only available for Business and Agency subscribers, if you wish to receive developer support let us know and we will upgrade your subscription for you.

Thanks for understanding.

Subscribe or login to join the discussion!

Anonymous
01.08.17
Answered

System Information

3.0
n/a
n/a