I can't see the PDF icon

Phoca PDF - creating PDF documents in Joomla! CMS
csantof
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 26 Mar 2014, 11:57

I can't see the PDF icon

Post by csantof »

HI,

I've downloaded Phoca PDF component, Phoca PDF plug in and activated all. (don't work)
I've tried to modify (add) my template/layout/com_content/icons.php seems phoca-pdf-installation-and-usage-joomla-3-3-and-later-version 3b (don't work)

my template html folder contain :
layout/article/content/icons... some files in
com_content/article/default.php and default_links.php

I've seen in this forum a lots of solutions but I do not what is the best way to find a solution to my issue

could you help me
Thanks
Tof
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: I can't see the PDF icon

Post by Jan »

Hi, the best way is

1) to use the system plugin, which tries to find the place and add the icons
2) if this does not work, then you should edit the core code of the com_content component (article)
3) if this does not work, mostly there is an override by template, so template should be edited then (the file for displaying the article)

Jan
If you find Phoca extensions useful, please support the project
csantof
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 26 Mar 2014, 11:57

Re: I can't see the PDF icon

Post by csantof »

Ok It is working I've replaced my icons.php in my core component layout/joomla/content/icons.php
But I have a new problem. I see the icon only on the "welcome" page when i am on an article I don't see the icon

Tof
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: I can't see the PDF icon

Post by Jan »

Hi, you need to detect which view it is (disable SEF for test and see which view it is). Then check if this view includes the changes you have made.

Jan
If you find Phoca extensions useful, please support the project
csantof
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 26 Mar 2014, 11:57

Re: I can't see the PDF icon

Post by csantof »

the link in the address bar is index.php?option=com_content&view=article&id=306:title-article&catid=16&Itemid=119
how I know which view it is

tof
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: I can't see the PDF icon

Post by Jan »

Hi, it is "view=article"
This means that for this view, the changes should be done in article view:
e.g.: components\com_content\views\article\tmpl\default.php (or in the override of template). So now you should check which view is working and which not.

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