Dependent features

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.
8/12/2011 5:29:33 AM
Gravatar
Total Posts 88

Dependent features

hi,

I´ve different user controls to build a toolbar.ascx and a leftMenu.ascx and now i want to turn this usercontrols to one feature. In this feature the user can select the top menus and the left menus appears  as the top selected menu.

the toolbar feature needs an ApplicationID and this applicationID will build the toolbar and the leftmenu.

it is possible to the toolbar.ascx loads the leftmenu.ascx on the base page?

I've tried on toolbar.ascx:

base.loadControl("~/controls/leftmenu.ascx") but the control doesn't appear.

it´s possible get featuredefinitions of all features in a page? (answer ModuleSettings.GetModuleSettings(Module.ModuleId);)

How can i get all Modules installed on mojo and add a Module to the base page dynamically?

 

thanks

 

8/12/2011 10:15:12 AM
Gravatar
Total Posts 18439

Re: Dependent features

mojoPortal is designed for features to be self contained, there is no cross talk of features on a page, none of the included features do that and I recommend you try to do things similar to existing features. You should have one UserControl per feature that is loaded on the page and this is the entry point to your feature, from there you can link to feature specific supporting pages if needed. Inside your UserControl you can have as many other UserControls as you like but they should inside your main feature control.

I recommend study the developer docs and training videos, and study the source code of existing features.

Hope that helps,

Joe

 

8/12/2011 10:42:14 AM
Gravatar
Total Posts 88

Re: Dependent features

ok,

but if i want to load a module on server side its possible?

the left menu has options and options load differents modules.

8/12/2011 10:45:27 AM
Gravatar
Total Posts 18439

Re: Dependent features

anything is possible but that is not something I want to help you with or offer support for. modules are not intended to be loaded by other modules. I would not do that myself and I don't want to help or encourage anyone to do that.

Best,

Joe

8/12/2011 10:52:07 AM
Gravatar
Total Posts 88

Re: Dependent features

ok,

thanks

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