Module on multiple pages in menu

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/29/2012 7:03:05 PM
Gravatar
Total Posts 28

Module on multiple pages in menu

Hi,

I've started building a new module which has many pages which I would like to display in the main menu.

Example:

Module: Customers

Subpages: New Customer, Edit Customer, Customer reports

So in the main menu I would like to have top level as "Customers" and then sublevel with "New Customer, Edit Customer ..."

 

However installing module is on 1 page so for my module menu I would have to create some sort of new menu.

Has anyone done something similiar? Any suggestions?

Thanks,

Peter

 

3/2/2012 6:33:17 AM
Gravatar
Total Posts 18439

Re: Module on multiple pages in menu

Hi Peter,

The "Main Menu" is for CMS pages, it would not be appropriate for feature specific edit pages.

How you make a menu for supporting pages in a custom feature is open ended, you can do it any way that works for you. For a simple example look at WebStore it has a link for Store Manager in the title of the module instance that links to a main menu for web store, that men is also a supporting page of webstore it is not part of the main menu. As with any supporting page in a custom feature the pageid and moduleid are passed in the url to all the menu links.

Note that these ideas are for features that plug into cms pages, bu tnot everything  one builds to extend mojoPortal needs to be a cms plugin. It would be your own judgement whether something for customer tracking should or should not be a cms plugin. You could build it as stand alone pages outside of the cms system (and outside the main menu) and plugin links for it in the administration menu instead.

Hope that helps,

Joe

3/2/2012 9:05:20 PM
Gravatar
Total Posts 28

Re: Module on multiple pages in menu

Thank you Joe,

In the end I've decided to create a special menu within the module as the module will be accessible only to some users. Something like the adminstration menu as you've suggested.

 

Regards,

Peter

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