- Messages : 5
- Remerciements reçus 0
Menu de Kunena
ACF articles
- MiltosZ
- Auteur du sujet
- Hors Ligne
- Membre
-
Moins
Plus d'informations
il y a 1 an 1 mois #98
par MiltosZ
ACF articles a été créé par MiltosZ
Hi,
I started using the PDF Creator and everything’s working fine. However, there’s one issue: I’m using ACF Articles, and in some cases the list of articles is quite long (40+ articles), which causes the list to overflow the page and break the layout. Is there a way to make the article list continue smoothly onto the next page?
Miltos
I started using the PDF Creator and everything’s working fine. However, there’s one issue: I’m using ACF Articles, and in some cases the list of articles is quite long (40+ articles), which causes the list to overflow the page and break the layout. Is there a way to make the article list continue smoothly onto the next page?
Miltos
Connexion ou Créer un compte pour participer à la conversation.
- yberges
- Hors Ligne
- Admin
-
Moins
Plus d'informations
- Messages : 37
- Remerciements reçus 2
il y a 1 an 1 mois #99
par yberges
Réponse de yberges sur le sujet ACF articles
Hello, actually this is normal. Dompdf, the library that converts HTML into PDF, can sometimes have issues handling content breaks and moving to the next page. Since you are loading dynamic data, it’s even more complex to determine where to split the content. The only solution is to work on your design to try to implement a specific fix. On the PDF generator side, there is a page-break block that allows you to force a page break. You might need to split your loading into two blocks by calculating the maximum number of elements possible before switching to a new page with a page break.
Maybe you can post a screenshot of your template ?
Maybe you can post a screenshot of your template ?
Connexion ou Créer un compte pour participer à la conversation.
- MiltosZ
- Auteur du sujet
- Hors Ligne
- Membre
-
Moins
Plus d'informations
- Messages : 5
- Remerciements reçus 0
il y a 1 an 1 mois #100
par MiltosZ
Réponse de MiltosZ sur le sujet ACF articles
Yes, it was an oversight. I'm sending a file to make things clear.
Miltos
Miltos
Connexion ou Créer un compte pour participer à la conversation.
- yberges
- Hors Ligne
- Admin
-
Moins
Plus d'informations
- Messages : 37
- Remerciements reçus 2
il y a 1 an 1 mois #101
par yberges
Réponse de yberges sur le sujet ACF articles
i think the probem is the column, dompdf can't brake it.
i recommand for testing to put you filed after column in a signle container.
i recommand for testing to put you filed after column in a signle container.
Les utilisateur(s) suivant ont remercié: MiltosZ
Connexion ou Créer un compte pour participer à la conversation.