Page 1 of 1

Icon not showing up

Posted: 01 Nov 2011, 00:40
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.

Re: Icon not showing up

Posted: 02 Nov 2011, 14:57
by Jan

Re: Icon not showing up

Posted: 04 Nov 2011, 07:01
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 ?

Re: Icon not showing up

Posted: 10 Nov 2011, 13:26
by romanous35
Hi tonicgoofy,

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

Many thanks

Re: Icon not showing up

Posted: 19 Nov 2011, 01:47
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.

Re: Icon not showing up

Posted: 23 Nov 2011, 16:02
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