Page 1 of 2
the PDF icon is not visible
Posted: 17 Oct 2011, 13:56
by kian20
I would like to thank you for your very useful extension.
I had successfull installed the phoca pdf component and plugin but the PDF icon in article option is not visible. PHP 5 is available and the plugin is activated.
I searched you forum but coulnot sort out the problem.
Re: the PDF icon is not visible
Posted: 18 Oct 2011, 00:39
by Jan
Hi, which version of Joomla! you are using?
if 1.6,1.7 try to see:
https://www.phoca.cz/documents/47-phoca- ... -and-usage
Jan
Re: the PDF icon is not visible
Posted: 29 Feb 2012, 16:26
by almawaddat
I am using Joomla 2.5.
I have downloaded and installed the PhocaPDF component, plugins and fonts and have enabled the plugin. During the installation, I did a Full Install and even checked the default.php file, etc and it has the relevant phocaPDF codes in them.
However, the PDF icon is still not visible on my site. How can I go about it?
Re: the PDF icon is not visible
Posted: 02 Mar 2012, 00:39
by Jan
Did you check if your template overwrite com_content (see similar posts in thsi forum and the links above)
Jan
Re: the PDF icon is not visible
Posted: 02 Mar 2012, 05:13
by almawaddat
I am using business6 template by jm-experts.
I searched for the /templates/my-template/html/com_content/article/default.php, but I couldn't find the 'html' folder in my templates folder. I only see the folders 'block', 'core', 'css', 'images', 'info', 'local'. How should I find out if my template is overriding the com_content?
Regards,
Re: the PDF icon is not visible
Posted: 02 Mar 2012, 20:14
by DoroM
Hello Jan,
I have the same problem, the icon doesn't appear. I use Joomla 2.5 and Phoca PDF 2.0.4
So I looked in the installation doc for the override of the /components/com_content/views/article/tmpl/default.php:
https://www.phoca.cz/documents/47-phoca- ... -and-usage.
But it seems, that the content of the components/com_content/views/article/tmpl/default.php has changed.
the old code from this tutorial:
Code: Select all
<?php if ($params->get('access-edit') || $params->get(
'show_print_icon') || $params->get('show_email_icon')) : ?>
<ul class="actions">
<?php if (!$this->print) : ?>
how to change this? In the new version of /components/com_content/views/article/tmpl/default.php in Joomla 2.5. the its something like this:
Code: Select all
<?php if ($canEdit || $params->get('show_print_icon') || $params->get('show_email_icon')) : ?>
<ul class="actions">
<?php if (!$this->print) : ?>
<?php if ($params->get('show_print_icon')) : ?>
<li class="print-icon">
<?php echo JHtml::_('icon.print_popup', $this->item, $params); ?>
</li>
<?php endif; ?>
<?php if ($params->get('show_email_icon')) : ?>
<li class="email-icon">
<?php echo JHtml::_('icon.email', $this->item, $params); ?>
</li>
<?php endif; ?>
<?php if ($canEdit) : ?>
<li class="edit-icon">
<?php echo JHtml::_('icon.edit', $this->item, $params); ?>
</li>
<?php endif; ?>
<?php else : ?>
<li>
<?php echo JHtml::_('icon.print_screen', $this->item, $params); ?>
</li>
<?php endif; ?>
</ul>
<?php endif; ?>
Re: the PDF icon is not visible
Posted: 06 Mar 2012, 23:19
by Jan
Hi, I see no important difference between bod codes?
Re: the PDF icon is not visible
Posted: 10 Mar 2012, 13:53
by almawaddat
I'm still waiting for the reply to my 29 Feb 2012 post appended below. If there's anyone who can assist me, I would appreciate it.
I am using business6 template by jm-experts.
I searched for the /templates/my-template/html/com_content/article/default.php, but I couldn't find the 'html' folder in my templates folder. I only see the folders 'block', 'core', 'css', 'images', 'info', 'local'. How should I find out if my template is overriding the com_content?
Regards,
Re: the PDF icon is not visible
Posted: 11 Mar 2012, 19:57
by fneurieser
Jan wrote:Hi, I see no important difference between bod codes?
Hi Jan,
I've implemented the code as descriped, in Joomla! 2.5.2 using the Plugin version 2.0.4. But you can imagine my surprise as I only got white site after doing so. So I had to remove the code again.
Attach: Downloaded plugin version 2.0.5, installed it and ... the site is still broken - I only get a blank page even when the Plugin is disabled!
Do you have any idea what's going wrong? Before I forget, I'm using a copy of template
Beez2 - Default
Regards
Franz-Georg
Re: the PDF icon is not visible
Posted: 12 Mar 2012, 21:53
by Jan