How to NOT show child page menues on child page?

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
1/24/2012 10:55:46 AM
Gravatar
Total Posts 383
Thanks Squire Dude

How to NOT show child page menues on child page?

Hi,

I have a child page (Blog) under the Home Page, there is  a Home Page and under it a Blog page title on the Main Menu.  I do not want to have the Blog page display a child-menu on the left of its self with only itself.

How can I have a Blog Page under the Home Page with no Menu on the Blog page?

1/24/2012 12:00:24 PM
Gravatar
Total Posts 383
Thanks Squire Dude

Re: How to NOT show child page menues on child page?

UPDATE -

What I have realized is that I do not need any child menus just the Main Menu across the top of the page.  This menu does need to show child menu items.  None of the pages should have a vertical menu (child menu) on it.

 

How can I disable the Child menus on the pages and leave the Top menu in tack?

1/24/2012 12:52:49 PM
Gravatar
Total Posts 18439

Re: How to NOT show child page menues on child page?

Remove <portal:PageMenu from the layout.master file of your skin

Hope that helps,

Joe

1/24/2012 2:52:07 PM
Gravatar
Total Posts 383
Thanks Squire Dude

Re: How to NOT show child page menues on child page?

Hi Joe,

Thanks I got that but the space for the Child Menus is still being reserved on all the pages where a menu would have been. 

Got any idea where that tag is in the CSS files so I can set (portal:PageMenu Width=0)?

I found this solution in the Layout.master I commented out the following segment of code to restore the column.

<!-- <asp:Panel ID="divLeft" runat="server" CssClass="art-layout-cell art-sidebar1 leftside"
Visible="True" SkinID="pnlPlain">
<portal:PageMenu ID="PageMenu1" runat="server" UseTreeView="true" IsSubMenu="true"
TreeViewShowExpandCollapse="false" />
<asp:ContentPlaceHolder ID="leftContent" runat="server">
</asp:ContentPlaceHolder>
</asp:Panel> -->

I am sure there is a cleaner method in the style-artisteer-overrides.css.  But it alludes me.

1/24/2012 2:58:55 PM
Gravatar
Total Posts 18439

Re: How to NOT show child page menues on child page?

please follow my advice and remove it, that is not the way to comment out a .NET control, its not the same as html

do not remove <asp:Panel ID="divLeft"

remove only <portal:PageMenu

1/24/2012 4:29:29 PM
Gravatar
Total Posts 383
Thanks Squire Dude

Re: How to NOT show child page menues on child page?

Hi Joe,

Okay removed noted line...

Thanks

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