menus in mojoportal skins

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/27/2007 11:40:38 AM
Gravatar
Total Posts 10

menus in mojoportal skins

i have 3 questions,mainly around the menu in mojoportal skins;

1) Is it possible to change the default menus in mojoportal skins to something more interesting or something that will will blend with the layout i develop.

 

2) can we use horizontal menus?

3) where are the default skins found in the mojoportal installation?

 

thanks

2/27/2007 11:46:07 AM
Gravatar
Total Posts 18439

Re: menus in mojoportal skins

Hi,

Please see the documentation here

http://www.mojoportal.com/creatingskins.aspx

There are examples of horizontal menus and split menus in the included skins.
Menu style and layout is controlled completely by css

Hope it helps,

Joe
5/18/2007 2:26:46 AM
Gravatar
Total Posts 5

Re: menus in mojoportal skins

Hey joe ,  

       Can u explain a bit on

1.how the main menu items are being added

2. Is there a possibility of changing the orientaion of the menu in a particular skin.  ( I'm using the centered layout for my site which suits for most of my requirements. But I wud like to have the menu horizontal). I think I'm clear , please help me.

   

5/18/2007 6:47:51 AM
Gravatar
Total Posts 18439

Re: menus in mojoportal skins

The Menu is populated by databinding to the SiteMapProvider via the SiteMapDataSource control. The SiteMapDataSource control lives in the layout.master file of the skin. The actual data binding happens in SiteMenu.cs which is in the Controls folder in the code.

In the databinding event pages are filtered from the menu by role so users only get to see pages for which they have permission.

Yes different skins can have either horizontal or vertical menu. Example skins with horizontal menu are IBuySpy, mojoguidetogalaxy

You could assign a different skin to the pages where you want a different orientation. Another option is to use a horizontal site menu and a vertical page menu as seen in the skins named jwh1, treeview2, splitmenu1, and splitmenu2. This works well as sub pages below the top level are shown vertically in a different menu.

studying the layout.master and the style.css files for existing skins should help you. It is also  very helpful to get a good CSS reference book.

Hope it helps,

Joe

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