Page 1 of 1

Modules loaded in an article are not displaying in pdf view

Posted: 20 Jan 2021, 15:44
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!

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

Posted: 21 Jan 2021, 13:18
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

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

Posted: 21 Jan 2021, 13:28
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

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

Posted: 21 Jan 2021, 14:04
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