I installed Phoca PDF, and it is working fine.
But:
It shows the Icon on pages where the option "Print Icon" is set to "Show"
On all the other pages it shows a text-link ( PDF ) This link is working perfect but I do not want a link nor an icon on these pages.
Anyone a solution?
Regards,
Christian
And a great 2012!!!
PDF link shows on all pages without the icon
-
- Phoca Newbie
- Posts: 2
- Joined: 05 Jan 2012, 20:47
-
- Phoca Newbie
- Posts: 2
- Joined: 05 Jan 2012, 20:47
Re: PDF link shows on all pages without the icon
This is not a Bump but the solution to my own problem!
I solved this by a little change in default.php:
I placed the PDF link inside the if statement "$params->get('show_print_icon')".
I solved this by a little change in default.php:
I placed the PDF link inside the if statement "$params->get('show_print_icon')".
Code: Select all
<?php if ($params->get('show_print_icon')) : ?>
<?php echo $phocaPDF; ?>
<li class="print-icon">
<?php echo JHtml::_('icon.print_popup', $this->item, $params); ?>
</li>
<?php endif; ?>
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PDF link shows on all pages without the icon
Ok
If you find Phoca extensions useful, please support the project