get current pageNumber and totalPages in Blade View #208
Unanswered
zaidpirwani
asked this question in
Q&A
Replies: 1 comment
-
I realize that the page number is only available in header and footer views, and possibly this is dependent on how browsershot uses puppeteer which runs chrome to generate the pdf and the page number is generated and available there, not available in the main blade. It will be very convenient if somehow we can get this data in blade - I need to generate different header/footer based on page numbers and I also need to modify page content based on page number - but maybe not possible in the current setup / system |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Is there any way to get Current Page Number and Total Pages inside the main Blade View - I can get them in footer view
I want to modify the first page depending on if there is one page or multiple
if I use @pagenumber or @TotalPages in the main blade View, I dont get any output.
Beta Was this translation helpful? Give feedback.
All reactions