Forgot your password?
Getting & Giving Support
Wolf CMS books section
parent() returns an array of values relating to the parent page of the current page.1) Normally, then, it is not used on its own, but to give some information about the parent page.
$level must be initialized properly if it is to be used:
$level > $this->level()
$level == $this->level()
Thus, if a value is given for $level, it should be one of: null, equal-to-current-level, or greater-than-current-level.
For the following tree of pages:
| |- Dickory
| |- Dock