Phoca PDF in article override in Yootheme Pro

Phoca PDF - creating PDF documents in Joomla! CMS
GerardVerheij
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 15 Jan 2020, 18:38

Phoca PDF in article override in Yootheme Pro

Post by GerardVerheij » 20 Jan 2020, 17:03

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!

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

Re: Phoca PDF in article override in Yootheme Pro

Post by Jan » 26 Jan 2020, 21:13

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
If you find Phoca extensions useful, please support the project

mirphi
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 24 Feb 2011, 13:32

Re: Phoca PDF in article override in Yootheme Pro

Post by mirphi » 03 Apr 2020, 05:45

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.

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

Re: Phoca PDF in article override in Yootheme Pro

Post by Jan » 03 Apr 2020, 12:54

Hi, which error did you get? Unfortunately I don't know Yootheme, so hard to give some clue advice :-(

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

Post Reply