No icon PDF

Phoca PDF - creating PDF documents in Joomla! CMS
dupinsan
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 26 Oct 2012, 14:07

No icon PDF

Post by dupinsan »

Hi,

I installed today component Phoca PDF on Joomla 2.5.7 (french version) with full install and phoca plug-in. I activated plug-in.
But I have not PDF icon on my articles.
Why ?

Thanks for your answer.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: No icon PDF

Post by Jan »

If you find Phoca extensions useful, please support the project
dupinsan
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 26 Oct 2012, 14:07

Re: No icon PDF

Post by dupinsan »

Hi,

Thanks for your answer.

I have tried it and made full install, but nothing ! No icon :( :(

Why ? :x
amardeo
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 06 Nov 2012, 21:10

Re: No icon PDF

Post by amardeo »

Same problem with me after checking the link and a full install. I am using a Rockettheme template - could it be that I need to activate the PDF in the template settings?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: No icon PDF

Post by Jan »

Hi, I have no experiences with activating plugins in template settings. It needs to be active in Joomla!, if template overrides the component, it needs to be modified manually:
https://www.phoca.cz/documents/47-phoca- ... -and-usage
Jan
If you find Phoca extensions useful, please support the project
mlbracewell
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 05 Dec 2012, 00:47

Re: No icon PDF

Post by mlbracewell »

I'm on Joomla 2.5.8 with full install and plugin is published. On an article page is shows where the PDF icon should be, but when I look at the code the path to the PDF image is wrong.

How do I fix this?

Thanks!
mlbracewell
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 05 Dec 2012, 00:47

Re: No icon PDF

Post by mlbracewell »

Just wanted to clarify - it works great! It creates the PDF fine. The only problem is the PDF icon does not show.

The path to the image is simply "/". I do not have template overrides so that is not my issue. The code is correct as per the installation & usage guideline.

Also - I tried Beez & Atomic templates and have the same issue.
mlbracewell
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 05 Dec 2012, 00:47

Re: No icon PDF

Post by mlbracewell »

Anyone - pretty please? I can really use some help. this must be a simple fix that I'm missing. The component is WORKING - it's just the icon that does not show up because the "path" to the pdf image is missing:

Here is the View source code:

<ul class="actions">
<li class="print-icon"><a href="/?tmpl=component&format=pdf" onclick="window.open(this.href,'win2','status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no'); return false;" title="PDF" rel="nofollow"><img src="/" alt="PDF" /></a></li>

<li class="print-icon">
<a href="/?tmpl=component&print=1&page=" title="Print" onclick="window.open(this.href,'win2','status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no'); return false;" rel="nofollow"><img src="/media/system/images/printButton.png" alt="Print" /></a> </li>
lanajane
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 06 Dec 2012, 03:35

Re: No icon PDF

Post by lanajane »

I had the same problem ... Joomla 2.5.8 with Shape5 construction template:

I had to change the location of the pdf image:

opened file administrator/components/com_phocapdf/helpers/phocapdf.php and changed the location of image at line 66 to templates/construction/images/system/pdf_button.png

I then uploaded the file pdf_button.png to that location templates/construction/images/system/
mlbracewell
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 05 Dec 2012, 00:47

Re: No icon PDF

Post by mlbracewell »

Yahoo!!! This did the trick!! Thank you a million times over! Merry Christmas!! :D
Post Reply