Article Pagination

Phoca PDF - creating PDF documents in Joomla! CMS
anth
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 04 Mar 2026, 02:11

Article Pagination

Post by anth »

Hi, I was hoping that the PDF generated from an article with pagination would be a multi-page PDF which respected the article pagination.

When I asked google AI, it seemed that would be the case but thus far I haven't got pagination to work in the PDF.

Its possible Ive not properly implemented the required code changes in my template overrides (Joomla5) but I don't want to spend a whole stack of time just to find that its never going to work. This is a lot more involved than I was expecting & my employer is losing faith - I didn't realise that Joomla pulled the default PDF functionality some years ago :-)

Can Phoca PDF be configured to respect an article's pagination?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49283
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Article Pagination

Post by Jan »

Hi, which article pagination you mean? PDF is completely different format to HTML, it just makes pagination based on the PDF height and width and depends completely on content. See similar posts in this forum, there is difference between static and dynamic content, between static PDF and dynamic HTML How could make PDF two HTML websites into one when there is just no place for it in PDF?

Jan
If you find Phoca extensions useful, please support the project
anth
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 04 Mar 2026, 02:11

Re: Article Pagination

Post by anth »

Hi Jan, thanks for the response. I was referring to the native joomla pagination that can be inserted into articles:

Code: Select all

<hr class="system-pagebreak" title="Page Title" >
Its CSS formatting rather than dynamic content so I thought there was a chance.

I had a vague memory from years ago that joomla's own PDF generation respected the article page breaks but have since learned that Joomla pulled the PDF functionality after version 2.5

Last week when I asked Google AI, it seemed very confident that Phoca PDF would include such page breaks in the PDF, and this is why I was exploring the Phoca software.

But today Google AI is telling me a completely different story - actually, it now links to this very forum conversation lol.
"Phoca PDF for Joomla 5 can produce multi-page PDFs, but it does not natively respect the Joomla article's pagination to create page breaks in the PDF output automatically. "
So I think that pretty much answers my question. Unless yourself or another user has some creative solution I'll probably have to find some other way of solving the problem. Google AI seems to suggest it could still be possible, but is likely complicated.

My client is trying to create a catalogue of products where new categories start on a new page in the PDF. Personally I would just create the PDF in illustrator & upload it, but the client wants to have it created on the fly from the web catalogue to centralise data, reducing duplication.

I'll poke around the forum a bit more to see if anyone has any related material.
Post Reply