Is there a possibility to fetch the pagination values in contemplate?

Case: I want to get the number of pages an article has, and the actual page a user is on (could be done via $_GET["page"]). By this I could style the outpot based on if its the last page of the article or not.

Comments

mundanity’s picture

Hi there,

Definitely possible. Are you just looking for a variable in the template file essentially? (like $total_pages or similar?)

mundanity’s picture

Status: Active » Postponed (maintainer needs more info)
mundanity’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)