Page 1 of 1

Phoca PDF in article override in Yootheme Pro

Posted: 20 Jan 2020, 17:03
by GerardVerheij
Hi,

I want to display a PDF button in my article on this medical site, like the one here: https://www.bravispijncentrum.nl/behand ... gordelroos
The generated PDF should contain all medical information from the article. Patients can download the PDF as a brochure.

This site is Joomla 3.9.14 with Yootheme Pro template, all latest versions.

The article is displayed with an article override, the template override is here:
/templates/yootheme/html/com_content/article/treatment.php

I have several questions, but first, the PDF-icon must be displayed in that article.
Off course I can test with default.php in that same directory..

How can I add that Phoca PDF-button to the article?

Thanks!

Re: Phoca PDF in article override in Yootheme Pro

Posted: 26 Jan 2020, 21:13
by Jan
Hi, see:
https://www.phoca.cz/documents/47-phoca ... er-version

First of all, try to install the system plugin which tries to add such button into your article automatically.

Jan

Re: Phoca PDF in article override in Yootheme Pro

Posted: 03 Apr 2020, 05:45
by mirphi
I am trying to resolve this same issue as I am also using Yootheme. Installing the system plugin did not make any difference. I also then tried to include the PHP directly on the page and then include the button but couldn't get the correct PHP (was getting an error). I tried using some of the modified code you've listed on the documentation page but obviously I don't know much PHP: https://www.phoca.cz/documents/47-phoca ... er-version.

Re: Phoca PDF in article override in Yootheme Pro

Posted: 03 Apr 2020, 12:54
by Jan
Hi, which error did you get? Unfortunately I don't know Yootheme, so hard to give some clue advice :-(

Jan