Page 1 of 1

Page break titles not displayed in the pdf

Posted: 06 Sep 2017, 10:36
by Paul33
Hi,

I'm using Joomla 3.7.5. I would like to use phocapdf to allow my users to export the content of my articles. I'm using the joomla pagebreak plugin to generate accordions on my articles (it's a requested feature from my client).

My problem is that phocapdf don't render the page break titles as titles, while they are included in a quite normal html :

Code: Select all

<h3 class="title pane-toggler" id="article219-sliders1"><a href="javascript:void(0);"><span>Objectif de la formation</span></a></h3>
You can see it live here :

http://cdplus.polymetis.fr/formations/219-test

Do you know if can do something to fix that and have a nice pdf with my accordion titles ?

Best regards,

Paul

Re: Page break titles not displayed in the pdf

Posted: 06 Sep 2017, 11:49
by Jan
Hi, I don't see any PDF icon on the site? What do you exactly mean with: "don't render the page break titles as titles"? Can you paste a screenshots?

Did you read the information in the redbox here:
https://phoca.cz/phocapdf (some html/css feature could not be transformed to static document like PDF)

Jan

Re: Page break titles not displayed in the pdf

Posted: 06 Sep 2017, 22:03
by Paul33
Hi,

My bad. The pdf icon is hidden behind this little icon in my template:

http://www.evernote.com/l/AP3bhYW7UHpFH ... lam-Jj-JU/

You can have a look at the page and the pdf here, or at the screenshot of the pdf :

http://cdplus.polymetis.fr/formations/219-test

http://www.evernote.com/l/AP04RcImqYhI4 ... IiBdV_i-A/

Sure, I've read the redbox before asking. This html does not looks so strange :

Code: Select all

<h3 class="title pane-toggler" id="article219-sliders1"><a href="javascript:void(0);"><span>Objectif de la formation</span></a></h3>
Maybe it's another thing. Does phocapdf render things from the .php or from the allready rendered html ?

Best,

Paul

Re: Page break titles not displayed in the pdf

Posted: 10 Sep 2017, 15:25
by Jan
Hi, maybe the javascript part can be a problem. Phoca PDF gets the article HTML and prepares it for displaying with help of TCPDF class. So if the php renders something which will be inside the article, such will be transformed to PDF.

Jan

Re: Page break titles not displayed in the pdf

Posted: 26 Sep 2017, 14:51
by Paul33
Hi,

Sorry, I didn't saw your answer.
Ok for the JS. I've changed my way of creating the pagination so it is no longer a problem.

Best,
Paul

Re: Page break titles not displayed in the pdf

Posted: 29 Sep 2017, 13:34
by Jan
Ok