Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm using include views, and I am putting page breaks between the include views.
But, i don't want to the page break to occur if the next view does not return any content. So i'd like some way to conditionally do a page break.
Has anyone got any ideas? I can see this is a fairly generic views question rather than a views PDF question, but it is specific to the PDF page break in this case.
Comments
Comment #1
killua99 CreditAttribution: killua99 commentedDear fellow Drupal enthusiasts,
I have set this issue to "Postponed (Maintainer needs more information)".
If not already done please add an issue summary and steps how to reproduce the problem.
And please read again, "Making an issue report".
Help about how to do this can be found on IRC and in the user groups.
After there is new information, please re-open the issue by changing the status to active.
--
This issue was edited with the help of Issue Helper
Comment #2
killua99 CreditAttribution: killua99 commentedPlease open a new issue if you still have this problem.
Comment #3
lindaweb CreditAttribution: lindaweb commentedI would like a page break only to be submitted if the field above the page break has content.
ie : Field contain images - yes - activate page break, if field is empty don't activate page break.
At the moment you have an empty page between all your pages because the page does not contain images but the page break is still functional.
I created a new issue for this :
https://www.drupal.org/node/2332605