PageMenu Control

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
2/8/2012 10:02:35 AM
Gravatar
Total Posts 16

PageMenu Control

Hi,

I was looking at the MojoDemo site and I like that the PageMenu appears on the left side of the pages.  I see how this is done in layout.master.  I also noticed that the menu only appears on root pages that have child pages.  I'd like to achieve a similar effect but would like to control which pages the PageMenu shows on.  It would be nice if there were a Menu feature type that could be placed on individual pages.  Or if there were a checkbox on page settings that one could choose whether on not to display the PageMenu.

I hope what I am asking is clear.  Any suggestions?

2/8/2012 10:14:36 AM
Gravatar
Total Posts 18439

Re: PageMenu Control

You can assign different skins to pages by enabling it in Site Settings. That way different pages can have different master pages and pagemenu can be included or not included. If the skins are mostly similar in CSS you can organize the CSS in a central location and use it for all of the skins you assign to pages to make it eaier to maintain the CSS.

For info about orginizing the CSS into a common location see Understanding the style.config file.

Hope that helps,

Joe

2/8/2012 2:05:48 PM
Gravatar
Total Posts 16

Re: PageMenu Control

Thanks for the reply.  I understand the approach you have given.  It does feel like a bit of a work around, but I guess it's probably and equal amount of work to assign different skins to dozens of pages vs. assigning a menu.  I was trying to avoid maintaining 2 skins also.

Thanks again. 

2/9/2012 4:28:51 PM
Gravatar
Total Posts 2239

Re: PageMenu Control

Hi,

I've just updated the Understanding The style.config File documentation. At the bottom you'll find a section titled "One Set of CSS for Multiple Skins." This section describes how to create a single set of css files to be used by multiple skins so you do not have to maintain the css in more than one location.

HTH,
Joe D. 

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