Pagination values in Contemplate?

dreister - February 12, 2009 - 19:00
Project:Pagination (Node)
Version:6.x-1.3
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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.

#1

mundanity - February 13, 2009 - 15:59

Hi there,

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

#2

mundanity - February 18, 2009 - 05:53
Status:active» postponed (maintainer needs more info)

#3

mundanity - May 10, 2009 - 21:22
Status:postponed (maintainer needs more info)» closed
 
 

Drupal is a registered trademark of Dries Buytaert.