After Installation of a new module(feature),name of feature not exists in feature list.

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/25/2008 5:03:47 PM
Gravatar
Total Posts 550

After Installation of a new module(feature),name of feature not exists in feature list.

Hello

I develop a news module and I want to setup that.I run mojo setup,but my script run and my tables and stored procedures create but my module not appears in list of module list for adding to a page. I use administration menu for add that but for any new installation (new database) I have to repeat this process.What I forget?

best.

 

4/26/2008 6:48:53 AM
Gravatar
Total Posts 18439

Re: After Installation of a new module(feature),name of feature not exists in feature list.

Hi Asad,

Installation of features and modules settings can happen automatically by creating a .config file for installation and then visit the /Setup/Default.aspx page.

For external features you should create a folder in your UI project at /Setup/applications/yourappname/FeatureDefinitions

and put the config file there for installation. Then during post build event you copy the whole folder /Setup/applications it up to the main Web project. You see example of this in WebStore.UI, it has a folder  /Setup/applications/webstore/FeatureDefinitions and this folder has a text file in it named  000_WebStore.config

This file will be used by the Setup/Default.aspx page to install the feature and install module settings.

You need to create a new Guid for your new feature and use it for featureGuid in this config file. You can generate a Guid from Query analyzer using SELECT newid() or in .NET code with Guid.NewGuid.ToString()

There is some documentation here, but not very extensive.

Hope it helps,

Joe

4/26/2008 7:46:46 AM
Gravatar
Total Posts 550

Re: After Installation of a new module(feature),name of feature not exists in feature list.

Hello Joe

Only configuring stage of my feature not occours.For all feature first run scripts then configuring occours but for me only running script occours.

thanks.

 

4/26/2008 8:07:36 AM
Gravatar
Total Posts 18439

Re: After Installation of a new module(feature),name of feature not exists in feature list.

You must be getting some detail wrong. What I would do is set a breakpoint in the /Setup/Default.aspx.cs and step through the code.

Joe

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