Hi i search the code for the download link on each site.
Maybe he is different in image plugin, media plugin and normal files.
Maybe he is different in image plugin, media plugin and normal files.
Attachments
-
131.8 KB Views: 94
<?php echo safeOutputToScreen($file->originalFilename, null, 70); ?> <a href="<?php echo safeOutputToScreen($file->getFullShortUrl()); ?>" target="_blank">(<?php echo t('download', 'download'); ?>)</a>
<?php echo safeOutputToScreen($file->originalFilename, null, 70); ?> <a href="<?php echo safeOutputToScreen($file->getFullShortUrl()); ?>" target="_blank"><img src="Path to your image you want displayed"></a>
<td class="first">
<?php echo UCWords(t('url', 'url')); ?>:
</td>
<td>
<a href="<?php echo safeOutputToScreen($file->getFullShortUrl()); ?>" target="_blank"><?php echo safeOutputToScreen($file->getFullShortUrl()); ?></a>
<?php echo UCWords(t('url', 'url')); ?>:
</td>
<td>
<a href="<?php echo safeOutputToScreen($file->getFullShortUrl()); ?>" target="_blank"><img src="Path to your image you want displayed"></a>