Show errors instead of changing skin

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.
10/4/2012 6:10:03 AM
Gravatar
Total Posts 40

Show errors instead of changing skin

Hi there,

How can i set up mojo to show errors instead of changing to another skin?
This keeps me checking up the log.

Thanks in advance,
João

10/5/2012 1:12:09 PM
Gravatar
Total Posts 18439

Re: Show errors instead of changing skin

I could add a web.config setting in the next release to make it possible to turn that feature off but in general I don't think a mistake in layout.master should be allowed to completely crash your site which it would do if we did not have handling for it. If I add this setting and you turn it off in your site and forget about it then someday someone will make a small change and accidently bring the site down. If something doesn't look right in your skin it is a clue that perhaps something is wrong in layout.master and its best to review the log to find the error.

Note that we are not loading a different skin, only a different layout.master file, it is still loading the css from the skin.

Its very easy to make mistakes in layout.master that cause errors, copying and pasting something with a duplicate id on the control will do it for example or leaving out required things.

Best,

Joe

10/9/2012 12:01:06 PM
Gravatar
Total Posts 18439

Re: Show errors instead of changing skin

fyi, in the latest source code I've added a config setting to allow you to disable the failsafe master page, you can add this to user.config:

<add key="UseFailSafeMasterPageOnError" value="false" />

So this setting will be available in the next release.

Best,

Joe

10/9/2012 12:08:13 PM
Gravatar
Total Posts 40

Re: Show errors instead of changing skin

Thank you ;)

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