Icon not showing up

Phoca PDF - creating PDF documents in Joomla! CMS
tonicgoofy
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Nov 2011, 00:35

Icon not showing up

Post by tonicgoofy »

First I would like to say that I have read similar thread, but I couldn't find a right anwser.

The problem is that the pdf icon will not show up with the yootheme template, (its does with the default one).

the template does override the com_content php file, but when I go in the only text refering to the print icon is

Code: Select all

<?php if ($params->get('show_print_icon')) : ?>
<div class="icon print"><?php echo JHtml::_('icon.print_popup',  $this->item, $params); ?></div>
<?php endif; ?>
if I replace it with the code provided I get an error.

Any help would be welcome.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Icon not showing up

Post by Jan »

If you find Phoca extensions useful, please support the project
tonicgoofy
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Nov 2011, 00:35

Re: Icon not showing up

Post by tonicgoofy »

Thanks for your reply, but in the default.php in article, this is the code I have and the slight difference with yours is throwing me off a little bit.

Code: Select all

<?php if (!$this->print) : ?>
   <?php if ($params->get('show_email_icon')) : ?>
   <div class="icon email"><?php echo JHtml::_('icon.email',  $this->item, $params); ?></div>
   <?php endif; ?>
			
   <?php if ($params->get('show_print_icon')) : ?>
   <div class="icon print"><?php echo JHtml::_('icon.print_popup',  $this->item, $params); ?></div>
   <?php endif; ?>
Would you know what could I try ?
romanous35
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 10 Nov 2011, 13:21

Re: Icon not showing up

Post by romanous35 »

Hi tonicgoofy,

I have the same problem.
Did you find the solution?

Many thanks
tonicgoofy
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Nov 2011, 00:35

Re: Icon not showing up

Post by tonicgoofy »

Still haven't been able to figure out what the problem is. if I switch template it works, but with the one I want it doesn't.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Icon not showing up

Post by Jan »

You need to check if your template does not override the content output, if yes, then the template must be customized, not article.

Jan
If you find Phoca extensions useful, please support the project
Post Reply