Page 1 of 1

I can't see the PDF icon

Posted: 18 Oct 2018, 16:26
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

Re: I can't see the PDF icon

Posted: 23 Oct 2018, 22:52
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

Re: I can't see the PDF icon

Posted: 24 Oct 2018, 13:20
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

Re: I can't see the PDF icon

Posted: 24 Oct 2018, 14:01
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

Re: I can't see the PDF icon

Posted: 25 Oct 2018, 16:45
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

Re: I can't see the PDF icon

Posted: 26 Oct 2018, 14:30
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