Page 1 of 1

PDF icon is not added

Posted: 16 Feb 2013, 07:53
by Ayter
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>

Re: PDF icon is not added

Posted: 18 Feb 2013, 22:02
by Jan