Wrong sub-menu is displayed on a disabled pages

1 view
Skip to first unread message

Alexander Obuhovich

unread,
Aug 17, 2011, 4:44:33 AM8/17/11
to In-Portal Bugs
In-Portal allows administrator to create a content pages to be shown later on on site (as CMS usually do).

To prevent access to a new pages in development, that content isn't fully completed administrator can set page's status to Disabled to prevent site visitors from seeing it anywhere.
However administrator will be able to access that page anyway using direct link (small shortcut icon after page name in page list) from admin console.

There is a bug, that results in displaying "home-page" sub-menu on a disabled page instead of proper sub-menu, that is visible when page is enabled. 

This becomes even bigger problem, since http://tracker.in-portal.org/view.php?id=1050 task (in 5.2.0) allows administrator to provide access to a disabled page for other users with the help of special link, that has access code build-in.



Ready for testing.

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com
incorrect_submenu_on_disabled_pages.patch
Reply all
Reply to author
Forward
0 new messages