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.
the PDF icon is not visible
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: the PDF icon is not visible
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
if 1.6,1.7 try to see:
https://www.phoca.cz/documents/47-phoca- ... -and-usage
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 29 Feb 2012, 16:19
Re: the PDF icon is not visible
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?
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?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: the PDF icon is not visible
Did you check if your template overwrite com_content (see similar posts in thsi forum and the links above)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 29 Feb 2012, 16:19
Re: the PDF icon is not visible
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,
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,
-
- Phoca Newbie
- Posts: 3
- Joined: 23 Mar 2011, 15:00
Re: the PDF icon is not visible
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:
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:
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) : ?>
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; ?>
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: the PDF icon is not visible
Hi, I see no important difference between bod codes?
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 29 Feb 2012, 16:19
Re: the PDF icon is not visible
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,
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,
-
- Phoca Member
- Posts: 41
- Joined: 03 Feb 2011, 13:43
- Location: Koeflach, Austria
- Contact:
Re: the PDF icon is not visible
Hi Jan,Jan wrote:Hi, I see no important difference between bod codes?
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
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: the PDF icon is not visible
Hi, blank page mostly means an php error:
https://www.phoca.cz/documents/16-joomla ... ent-errors
Jan
https://www.phoca.cz/documents/16-joomla ... ent-errors
Jan
If you find Phoca extensions useful, please support the project