Page break titles not displayed in the pdf

Phoca PDF - creating PDF documents in Joomla! CMS
Paul33
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 06 Sep 2017, 10:15

Page break titles not displayed in the pdf

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Page break titles not displayed in the pdf

Post 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
If you find Phoca extensions useful, please support the project
Paul33
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 06 Sep 2017, 10:15

Re: Page break titles not displayed in the pdf

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Page break titles not displayed in the pdf

Post 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
If you find Phoca extensions useful, please support the project
Paul33
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 06 Sep 2017, 10:15

Re: Page break titles not displayed in the pdf

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Page break titles not displayed in the pdf

Post by Jan »

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