I have some CCK fields I would like to be displayed only on the last page of a node - how do I check if current page is the last?

Comments

Etanol’s picture

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

$node->page_count stores the number of pages for a node object. You can compare it with the value in the url.

Gurpartap Singh’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.