Inactive Pages still showing in menu

Inactive Pages still showing in menu, a forum discussion on Jojo CMS. Join us for more discussions on Inactive Pages still showing in menu on our Plugin Support forum.

Back to Forum Index : Back to Plugin Support   RSS
Rick Rick

20 Sep 2009
Posts: 336

Hi guys, I was about to commit a fix for this but then realised it must've been left out on purpose for some reason that I'm simply just not seeing.

The _getNav() function that nicely gets us our menu items for the themes etc doesn't exclude those pages that are inactive.

Is this simply a bug that was overlooked for so long, or have I missed something?
tom

Developer

tom

20 Sep 2009
Posts: 379

overlooked? surely not.. :)

I haven't used the inactive switch (quite possibly because it didn't work...), but gone through the tedious process of disabling all the checkboxes in the navigation tab instead. One button would make more sense. Should that prevent browsing to it (ie should that be part of the permissions check too)? Or just take it off the navigation, sitemap etc?

I can't think of any reason for not commiting it, but probably in the 1.0 branch for now - I think Mike's in the middle of doing a pretty thorough clean out of that code in trunk.

The plan is to test and bug-fix the 1.0 branch enough to get a real release out, sooner rather than later.
Rick Rick

21 Sep 2009
Posts: 336

My understanding would be that inactive pages wouldn't show up in the menu (just like the live and expiry dates are respected when showing the menu).

I've just committed the fix to the 1.0 branch.
Back to Forum Index : Back to Plugin Support   RSS
You must be logged in to post a reply



You need to Register or Log In before posting on these forums.