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.


killua99’s picture

Status:Active» Postponed (maintainer needs more info)
Issue tags:+Needs steps to reproduce

Dear 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

killua99’s picture

Issue summary:View changes
Status:Postponed (maintainer needs more info)» Closed (works as designed)

Please open a new issue if you still have this problem.

lindaweb’s picture

I 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 :