Hi Srs de Gavick, I have acquired several of your templates and I have taken it from ROCKWALL because it is the one that seemed the best for my project, and everything went well until I realized that the attached files are not visible, nor the ones of K2 or those of attachmen, I can only see them if I am logged in, I have tried everything ..., I have copied the configuration of other websites, I have installed Flexicontent, and the problem persists. Why is this happening?.
regards
Translated Spanish-English by Google
Attachmen
antoniotudo Hi. Please edit file /html/com_k2/templates/default/item.php and add this toa place You need this to be shown:
<?php if($this->item->params->get('itemAttachments') && count($this->item->attachments)): ?>
<!-- Item attachments -->
<div class="itemAttachmentsBlock">
<span><?php echo JText::_('K2_DOWNLOAD_ATTACHMENTS'); ?></span>
<ul class="itemAttachments">
<?php foreach ($this->item->attachments as $attachment): ?>
<li>
<a title="<?php echo K2HelperUtilities::cleanHtml($attachment->titleAttribute); ?>" href="<?php echo $attachment->link; ?>"><?php echo $attachment->title; ?></a>
<?php if($this->item->params->get('itemAttachmentsCounter')): ?>
<span>(<?php echo $attachment->hits; ?> <?php echo ($attachment->hits==1) ? JText::_('K2_DOWNLOAD') : JText::_('K2_DOWNLOADS'); ?>)</span>
<?php endif; ?>
</li>
<?php endforeach; ?>
</ul>
</div>
<?php endif; ?>
<div class="clr"></div>
saguaros added the GK Joomla Templates GK Rockwall tags and removed the JA Joomla Page Builder tags.
teitbite Solved, Thank you very much
saguaros locked the discussion.