mojo only please no features

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
8/7/2008 10:49:43 AM
Gravatar
Total Posts 3

mojo only please no features

2.2.6.7 full source

great source code

but I would like to only have mojo w/o the features.  I'm in an extremely limited feature set that I'm writing for a client and don't need most of the features the "default" setup script runs (poll, survey, webstore).

so I copied the complete solution file and removed postgresql, mysql, Poll, Survey, WebStore, etc. that I don't need (the .csproj)

however when the setup script runs it installs the datamodel (I'm using Sql Server 2005) and Poll, survey, webstore tables are installed.

I would like just mojo w/o any modules

can someone 1) point me to a document that details this, or 2) tell me what to edit to not have the datamodel include these "features"

I looked at content management

found feature management was able to "remove" certain features

but thats after the fact when setup runs when you hit F5 in the solution it runs /root/setup/default.aspx and installs the datamodel

8/7/2008 11:00:45 AM
Gravatar
Total Posts 18439

Re: mojo only please no features

You must have built the solution at least once before removing poll, survey, webstore. On post build the UI projects for those features copy the sql scripts and setup files under Web/Setup/applications

You can delete the files under there for those features and if you have removed those projects then they won't re-appear.

Still most of the features (Blog, Links, Calendar, Forums, etc)  are built into the core. At some point in the next few months it is my goal to remove all content features except the  Html module out of the core and into a separate group of projects so that a minimal mojoportal can be packaged more easily.

I plan to create projects:
mojoPortal.Features.UI
mojoPortal.Features.Business
mojoPortal.Features.Data (5 versions)

and move all the features like blog, forums, polls, surveys into those projects. It still won't be as granular as possible because you will have to install all or none of those features, but I don't want an explosion of projects that would happen if each feature was in separate projects. It will be unwieldy having that many projects in a VS solution.

The goal is to make it such that if a developer wants to package a minimal mojoportal with just their custom features and html, it will be possible to do that.

Hope it helps,

Joe

8/7/2008 11:04:57 AM
Gravatar
Total Posts 3

Re: mojo only please no features

Joe,

I tried that suggestion and it didn't work.  what I did was copy the complete solution file, and then removed the .csproj (s) that I didn't want.  then I compiled and ran the project - it ran against my database (setup in web.config for sql server 2005) and still installed the survey, poll, webstore database tables.

so thats why I was asking about the scripts - what to remove or flag as "don't run" before I actually create the portal, etc. in the solution.

8/7/2008 11:08:38 AM
Gravatar
Total Posts 18439

Re: mojo only please no features

Maybe I wasn't clear. Look under Web/Setup/applications and delete the setup folders for poll, survey and web store. Then start with a clean db.

Hope it helps,

Joe

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