Module settings installation

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.
4/5/2012 5:11:53 AM
Gravatar
Total Posts 8

Module settings installation

Hi, Joe.

I'm creating my custom module and now I'm faced with such a problem installing the module settings.
First I did a manual install of one module setting using the Site Administrative Features under Admin Menu > Feature Definitions > Feature Definition Settings. Then I tried to add some more settings using a featureDefinition file as it's shown on the training video "Building a Guestbook".
But when clicking the link "Settings" of my custom module I see only the first setting installed manually. And when I go to Admin Menu > Feature Definitions > Feature Definition Settings I see the settings installed by using the Module Settings system.

The featureGuid in my featureDefinition file and on the ~/Admin/ModuleDefinitions.aspx? is the same.

What can be the cause?

4/5/2012 1:28:14 PM
Gravatar
Total Posts 18439

Re: Module settings installation

I would make sure the row for your feature instance in mp_Modules has the correct ModuleDefId and FeatureGuid

If it is correct there then visiting the setup page should add the new setting, make sure the setting you created manually is also in your feature definition.

Hope that helps,

Joe

4/6/2012 3:48:05 PM
Gravatar
Total Posts 8

Re: Module settings installation

I  don't know what ModuleDefId is correct . Where can I see it?

I compared the FeatureGuid in mp_Modules table with the FeatureGuid in featureDefinition file. They were different. So I replaced the FeatureGuid in featureDefinition file with the FeatureGuid in mp_Modules table. It really helped.

Thanks a lot

 

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