public function displayChildPages(Page $page) { $display = parent::displayChildPages($page); if ($display) { return true; } else { if (strpos($this->currentPage->getCollectionPath(), '/account') === 0 && (strpos($page->getCollectionPath(), '/dashboard/welcome') === 0 || strpos($page->getCollectionPath(), '/account') === 0)) { return true; } } }