Get root page of child

4 posts were split to a new topic: Where to put page model code?