Impossible to save

Phoca PDF - creating PDF documents in Joomla! CMS
JCassegrain89
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 06 Feb 2020, 16:54

Impossible to save

Post by JCassegrain89 »

Hy,
i have joomla! 3,9,15 avec i install all the component and plugin of PHOCA PDF.
i would like to set the header and the footer and i save. But after i come back and nothing appear.
i use SP PAGE BUILDER to compose my page in an article and when i print to pdf, all the page is white.
Nothing in the preview of the pdf.
Is there anything to do for the two problems.
Thanks for your help
:-)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Impossible to save

Post by Jan »

Hi, try to download this file (patch):

https://www.phoca.cz/forumfiles/phoca-p ... -patch.zip
and copy the file to folder:
administrator/components/com_phocapdf/models/ folder.

And let me know if you can save teh parameters.

When there is a white page, it can means that the html content is too complicated to render in PDF. Try to do a test with some really simple raw text in article :idea:

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Impossible to save

Post by Jan »

Hi,
first of all, thank you Benno for helping me with the "blank page" issue.


There were some changes in Joomla! regarding "Introtext" value.

1) Only for test, try to see if your "Introtext" is not disabled in Article options (or menu link options if they override the article options):
Image

Tryt to enable it for test and let me know if your content is displayed?


I will make some fix in next version, for now you can test it when you download this file:
https://www.phoca.cz/forumfiles/view.pdf.zip

and unzip the view.pdf.php to:
D:\www\J3915\components\com_content\views\article\ folder

Just let me know if it works.

Jan
If you find Phoca extensions useful, please support the project
JCassegrain89
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 06 Feb 2020, 16:54

Re: Impossible to save

Post by JCassegrain89 »

Hy Jan,

the first file https://www.phoca.cz/forumfiles/phoca-p ... -patch.zip is ok and the header and the footer were save correctly and appear in the pdf.
For the second file i don't see the text and images in the pdf generated.

Thanks a lot for your precious help.

Jérôme
;-)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Impossible to save

Post by Jan »

What is your setting for "dispay intro text" parameter?
If you find Phoca extensions useful, please support the project
JCassegrain89
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 06 Feb 2020, 16:54

Re: Impossible to save

Post by JCassegrain89 »

my setting is YES
i can give you the administrator access if you want
JCassegrain89
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 06 Feb 2020, 16:54

Re: Impossible to save

Post by JCassegrain89 »

Hy Jan
i set an image in header and footer and i see them.
The text and image in the page aren't the same like the page. I have 1 column and not 3.
How to keep the same look.The image in the footer is in inverse. i don't understand why.
can you see the site in front if you please?
The rest of the system is great.
Best regards
Jérôme
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Impossible to save

Post by Jan »

Do you get the same problem with 3.0.9 version?

https://www.phoca.cz/news/1063-phoca-pdf-3-0-9-released

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