How can i safely remove all unwanted features / modules...

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
9/8/2010 12:03:18 AM
Gravatar
Total Posts 2

How can i safely remove all unwanted features / modules...

Hello All,

Newbie questions.

Is there a way to delete unwanted modules / language resources etc...

for eg. if i know that my client will never want to support blogs (sorry blogs)  for e.g. or
will never want to support so many languages (sorry guys i don't want to hurt any language or module wink ya i know how it feels)

is there some magic switch (links or docs)

My intention is to make it lean-n-mean and less of headache for me to maintain for my client(s)

It's ok to go as technically deep as required, i am comfortable with it.

 

 

Thanks in advance.

Regards

9/8/2010 6:19:13 AM
Gravatar
Total Posts 18439

Re: How can i safely remove all unwanted features / modules...

Hi,

If you get a clean copy of the source code and only build the mojoportal-core.sln not the mojoportal.sln, then you can publish to a folder using the VS publish feature and it will only have the core feature set (ie it will have the Html feature but not blog, forums, galleries etc). If you ever build the full solution then it is too late because the feature files get copied up to the main Web folder by post build events. You cannot pick and choose features like blog and forums and gallery, they are all part of one set of projects, so you either include them all or none of them.

Then you could write a script of some kind to process the publish output folder to remove the extra language resx files or any other files you don't want, extra skins etc.

Hope it helps,

Joe

9/8/2010 11:50:26 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: How can i safely remove all unwanted features / modules...

Hey Joe, I was thinking about how maybe Big Eagle could instead just hide features. Couldn't he just navigate to Administration > Feature Installation/Configuration, and for the features he wants to hide, edit the settings and check the "Exclude From Feature List" checkbox?

The advantage of that would be that the feature would not appear in the list when adding features on a page, but if the client decides in the future that he really does want a blog after all, it would be a simple administrative task to make it available in the feature list. We all know how those clients can change their minds!

Jamie

9/8/2010 5:46:27 PM
Gravatar
Total Posts 2

Re: How can i safely remove all unwanted features / modules...

Thank you all for the quick reply.

I will try it out tonight.

Regards

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