Issue Bug Closed

#14891sys_page->getMenu ignores 'Hide in Menu' flag

old_jack-uk 07/31/05, 20:54 updated 04/28/07, 20:13

Description

If you set the ‘Hide in Menu’ flag for a page, the call :-

$GLOBALS[‘TSFE’]->sys_page->getMenu($menuPid);

will still return the information for that page. Hiding the page via other methods works fine, though.

The easiest way to replicate this is to create a new ‘sitemap’ FE plugin via the kickstarter, as the sample code produced uses this function.

(issue imported from #M1325)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.