Custom module is not in the list when setuo is run

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.
6/28/2012 6:20:25 AM
Gravatar
Total Posts 4

Custom module is not in the list when setup/default.aspx is run

Hi

Mojo Ver:  2.3.8.1

I hope someone can help as this is driving me nuts, I have been at this for hours and hours over quite an number of day's.

I have setup a custom module development in VS 2010, I have followed the videos  and documentation I have googled as well, and I am at a loss at to what I am doing wrong or omitting at the moment.

I can build the custom module in VS and as far as I can see all the post build events are firing and doing what they should do as I can see the files in the correct places after custom module build.

I can browse the mojoPortal.Web and add the custom module by browsing the admin add new feature, and publish it and it works fine, however when I run the setup/default.aspx my custom module is not listed, further more the default settings I have set in the feature definitions file are not present in the settings of the module.

When I have added the feature through the admin add new feature, I have used the featureGuid in the feature definition file in my source code, rebuilt the custom module and gone through the setup routine as above, same result my custom module still not in the setup list, and no default settings.

Thanks

 

 

 

 

 

6/28/2012 2:13:28 PM
Gravatar
Total Posts 18439

Re: Custom module is not in the list when setuo is run

Is the featureDefinition file being copied by your post build event?

What is the name and location of your feature definition file?

The setup page will only show and configure features for which it finds the feature definition file.

Your post build event should copy it  from

yourproject/Setup/applications/[yourfeaturefolder]/FeatureDefinitions

to Web/Setup/applications/[yourfeaturefolder]/FeatureDefinitions

The name it shows on the setup page will be determined by these settings in your feature definition file:

resourceFile="FormWizardResources"
featureNameReasourceKey="FormWizardFeatureName" 

above is the values from Form Wizard Pro

You may need to compare the xml syntax and elements in other feature definitions files that work to yours and make sure you don't have any mistakes.

Hope that helps,

Joe

6/28/2012 4:19:00 PM
Gravatar
Total Posts 4

Re: Custom module is not in the list when setuo is run

Success yes

Thank you for your prompt response you pointed me in the right direction to solve the problem, which you correctly identified as an error in the Feature Definition Config file.

I carefully checked my file against the Contact Form file and saw that I was referring to the to the resourceFile as ResourceFileName.resx I removed the .resx and that fixed the problem, all is working fine now. 

Thank u again I have spent hours on this thinking I had not got the project setup properly, (this is my first time developing a module for Mojo) and in fact looking everywhere except at the Feature Definition Config file syntax.

Well this mistake has been well learned and I will not be making this error again that's for sure. smiley

 

 

 

 

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