Add page to Perch Navigation
I was wondering what the best way was to add a page to
perch_pages_navigation, which doesn't have any editable regions on it? For instance this is a
news.php page I have currently:
<?php include($_SERVER['DOCUMENT_ROOT'].'/admin/runtime.php'); perch_layout('header'); perch_layout('top-bar'); perch_pages_navigation(); perch_blog_recent_posts(10); perch_layout('footer'); ?>
Currently I am adding a content region so Perch sees the page, and then deleting that region once Perch has noticed the page. This seems a little clumsy, is there a better way for Perch to spot a page if it doesn't have editable content regions, and add it to the navigation?