How create two dinamic menu: one on the lef side and one on the right side

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.
11/23/2007 8:39:51 AM
Gravatar
Total Posts 11

How create two dinamic menu: one on the lef side and one on the right side

Hello,

    I want create a template with two dinamic menu one on the side and one on the right side. I put on the left in the vertmenu div a portal:sitemenu tag and on the right? i don't know how to create an other dinamic menu on the right. is There a solution for my problem? Can i subdivide the site menu in two part: one on the left and one on the right.

 

Thanks for your help

Dario

 

P.S. I'm italian and i don't speack english very well, I hope that you understand my post.

11/23/2007 8:54:06 AM
Gravatar
Total Posts 18439

Re: How create two dinamic menu: one on the lef side and one on the right side

Hi Dario,

This is an unusual use case and a complex question. Most likely you will need to write some code to do what you want to do.

Look at some of the skins that use both a SiteMenu and a PageMenu as these may help you. I don't think you should put 2 SiteMenu controls on the page because they will both show the same menu items. You could add another SiteMapDataSource control to your layout.master and then use mojoTreeView or mojoMenu to create your own menu but you will need to implement your own role filtering similar to what is done in SiteMenu. You will probably want to set a different starting node on the SiteMapDataSource control for the alternate menu. You might find helpful code examples in SiteMenu, PageMenu and ChildPageMenu source code.

Hope it helps,

Joe

11/26/2007 5:35:39 AM
Gravatar
Total Posts 11

Re: How create two dinamic menu: one on the lef side and one on the right side

Thanks for your help.

I'll try to write a new control for dinamic menu.

bye

Dario

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