Menu System

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.
3/10/2010 12:31:12 PM
Gravatar
Total Posts 20

Menu System

Hi Everyone

First off, thank you Joe for your answer to my last post.

I have a new question regarding customizing the menu system. I'm currently building a custom ecommerce cart (nearly done) and I have a new client who would like to have the categories in the cart displayed as part of the main menu as well as typical ecommerce menu of My Account, My Shopping Cart, Login etc. My cart is simply a module identified custom module that has it's own checkout page. Redeveloping it to be sitewide rather than module only isn't in the works (as of yet.. and the new client does not have the budget to develop it.)

How difficult or easy would this be to implement into mojoPortal without getting into the core pages?

Thanks

3/10/2010 8:44:37 PM
Gravatar
Total Posts 131

Re: Menu System

This shouldn't be too hard but would be more of a standard C# question than a mojo question and you may want to search google for C# SQL Server Menu, or C# dynamic menu.

In mojo, you can set your sitemapdatasource to one generated by the db. Use the layout.master file in your skin and set the value of the sitemapdatasource you want to populate as outlined in this link http://www.codeproject.com/KB/menus/PopulatingMenuControlASP2.aspx 

Hope that points you in the right direction.

3/11/2010 6:43:20 AM
Gravatar
Total Posts 18439

Re: Menu System

If your custom feature has pages for categories, you can link to those pages from the menu. Just create a page and then set the url to either the fully qualified url of the category page like http://yoursite/pathtoyourpage.aspx, or use the ~/pathtoyourpage.aspx, if the page exists on disk it will warn you but it will let you map the cms page to it.

Hope it helps,

Joe

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