Modules loaded in an article are not displaying in pdf view

Phoca PDF - creating PDF documents in Joomla! CMS
dora
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 20 Jan 2021, 15:29

Modules loaded in an article are not displaying in pdf view

Post by dora »

Hi!
I want to make a pdf of an article that has some text, a table with text and some modules loaded. Modules are not displaying at all. Can they be displayed?
I installed phocapdf v.3.0.11

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

Re: Modules loaded in an article are not displaying in pdf view

Post by Jan »

Hi, modules are not a part of article. If you load modules per plugin in article, you can enable displaying of plugins in Options. Then the PDF will even get output from plugins, but be aware, it depends on plugin/module output (if the output is too complicated, the displaying could not work)

Jan
If you find Phoca extensions useful, please support the project
dora
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 20 Jan 2021, 15:29

Re: Modules loaded in an article are not displaying in pdf view

Post by dora »

When I enable Display plugin code option this error shows up after clicking on the pdf icon

Warning: array_push() expects parameter 1 to be array, null given in /home/...../administrator/components/com_phocapdf/assets/tcpdf/tcpdf.php on line 16986
TCPDF ERROR: Some data has already been output, can't send PDF file
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Modules loaded in an article are not displaying in pdf view

Post by Jan »

Hi, this seem like TCPDF just cannot manage the output of the plugin/module, but more can say only debug of this problem (in tcpdf class or when testing the plugin/module html output :idea: )

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