$profile_page = Cms_Page::create()->find_by_url('/profile');
$pages = $profile_page->navigation_subpages();
I have a page with the url '/profile' and if I run something like $profile_page->title it returns the correct information so I know that it's getting the right page. However the $pages array is empty. I have my Change Password page and I set the Profile page as it's parent page. It is visible and it's assigned properly. If I use the code on this page
http://lemonstandapp...nd_breadcrumbs/
to output all the pages and their subpages then the pages appear there so I know that it's linked correctly. I want only my Profile subpages to have a menu that automatically generates the pages and it's just not working.

Help












