Greetings, I tried to add you but my templatemdeki default.pdf like the example you gave is different. How do I send default.pdf added, components / com_content / views / article / tmpl / default.php,,,,,,,, templates / your-template / html / com_content / article / default.php you copy the PDF icon does not appear to run but both site template layout is very distorted so add your code to my original template default.pdf. So if you can do this I will be very pleased with. On this occasion I wish you good work.
......................................................................................................................................................................................
<?php if (!$this->print) : ?>
<?php if ($this->item->params->get('show_pdf_icon')) : ?>
<td align="right" width="3%" class="buttonheading">
<div class="pdf-btn">
<?php echo JHtml::_('icon.pdf', $this->item, $this->item->params, $this->access); ?>
</div>
</td>
<?php endif; ?>
<?php if ( $this->item->params->get( 'show_print_icon' )) : ?>
<td align="right" width="3%" class="buttonheading">
<div class="print-btn">
<?php echo JHtml::_('icon.print_popup', $this->item, $this->item->params, $this->access); ?>
</div>
</td>
<?php endif; ?>
<?php if ($this->item->params->get('show_email_icon')) : ?>
<td align="right" width="3%" class="buttonheading">
<div class="email-btn">
<?php echo JHtml::_('icon.email', $this->item, $this->item->params, $this->access); ?>
</div>
</td>
PDF icon is not added
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PDF icon is not added
If you find Phoca extensions useful, please support the project