Hide right panel if page doesn't have page menu

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
1/22/2014 9:09:00 AM
Gravatar
Total Posts 111
Matt Millican InternetMill

Hide right panel if page doesn't have page menu

I'm wondering if it's possible to hide the right content panel if there is no PageMenu present for a particular page (and no other content)?  For instance, some pages, might not have children, or the page menu may be turned off for that page.   Presently, it looks as if the menu won't show unless there's other content in the right panel or it's set to always show.

Thanks,
Matt

1/22/2014 10:12:32 AM
Gravatar
Total Posts 18444

Re: Hide right panel if page doesn't have page menu

make sure the PageMenu has the id PageMenu1, PageMenu2 or PageMenu3, otherwise the master page won't detect its presence and it must be a direct child of divLeft or divRight to be detected as well. The column logic should auto hide (unless set to always show) if the current page has no children and the side column has no modules, it should work the same for divRight as it does in divLeft.

However it may not detect things like include in menu being unchecked, and definitely include in child page site map is not the same thing as include in menu, there is no such thing as include in page menu.

You must sign in to post in the forums. This thread is closed to new posts.