Reducint mojoportal footprint

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.
12/5/2011 3:06:44 PM
Gravatar
Total Posts 2

Reducint mojoportal footprint

Good evening Joe.

We would like to reduce the mojoportal footprint once published on IIS. We already removed all the unused skins (we kept just one) and all unused multi-lang resources. We also removed the unused DB scripts.

Our problem is that the publish process is too slow because of the thousands of file into the Web/ClientScripts folder. This is caused by the WebEditor files. 

Now we would like to erase (if possible) some editors we're not going to use anymore. We also noticed that there are different versions of the same editor.

In details we want to remove:

  •  CKEditor
  •  FCKEditor

If it's not possible to brutally remove the editors, is it possible to remove all the previous versions? (Example: Web/ClientScripts/ckeditor36 and Web/ClientScripts/ckeditor361 and keep only the Web/ClientScripts/ckeditor362 one).

As you can see we decided to keep TinyMCE: in your opinion, what is the best editor? 

 

Thank you in advance.

Giorgio

P.S. thanks for the great work!!!

12/5/2011 3:33:46 PM
Gravatar
Total Posts 2253

Re: Reducint mojoportal footprint

Hi Giorgio,

You can delete any of the editors that you aren't using. Follow these steps:

  1. Delete the files for the editors you don't want to use.
  2. Copy mojoEditor.config to a new file with a custom name (e.g. mojoEditor-CUSTOMSTRING.config).
  3. Remove the editors that you don't want to use from this file.
  4. Set <add key="mojoEditorConfigFileName" value="mojoEditor-CUSTOMSTRING.config" /> in your user.config. This will ensure that your changes aren't overwritten on upgrades.
  5. Open the Web.config, add a space to the bottom of it and save it. This resets that application, forcing it to reload the user.config so the new setting can be read.

You can always delete the files from old versions of the editors.

HTH,
Joe

12/6/2011 12:32:42 AM
Gravatar
Total Posts 133
J

Re: Reducint mojoportal footprint

Great - many thanks Joe you have just answered on of the questions I hadn't got around to asking yet!

J

12/6/2011 12:49:30 AM
Gravatar
Total Posts 2

Re: Reducint mojoportal footprint

Many thanks!!!!!!

I'll try as soon as possible!!!

G.

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