singlepage exclude nav in dashboard does not exclude page from nav

Permalink 0 0 Browser Info Environment
I chose to exclude a dashboard page from the nav in the dashboard but the page was still displayed in the navigation.
I had added a page as belonging to a package:

$sp = SinglePage::add({parentpath}/{pagepath}, $pkg);

under an existing page belonging to the package.

and chose to exclude it from nav:

$sp->setAttribute('exclude_nav', true);

During the package installation.

I checked the page properties on the full sitemap, but the page was still displayed in the navigation at the top of the screen under the parent page at:

/dashboard/{package}/{parentpage}

Tags:

Status: New
View Replies:

concrete5 Environment Information

php 5.2.17
mysql 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0.1) Gecko/20100101 Firefox/5.0.1