We can get parent page id by using $GLOBALS[‘objPage’]->pid.

Advertisements