Settings Page Too Narrow

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.
3/15/2012 11:30:35 AM
Gravatar
Total Posts 148

Settings Page Too Narrow

 

I recently added a Code Behind File to the layout.Master in my skin folder. Now, when I go to the Settings page of my controls everything appears to be in one column (to the left) and not taking up the full width of the page.

Recently I included the divAlt1 to my layout.Master. (Don't know if this has anything to do with the problem).

3/15/2012 11:37:37 AM
Gravatar
Total Posts 18439

Re: Settings Page Too Narrow

I recently added a Code Behind File to the layout.Master in my skin folder.

You cannnot do that. It already has a code behind that is compiled into mojoPortal.Web.dll, trying to do that will just break it.

You should not try to modify the code for layout.master nor put any new custom code directly in there.

You can embed custom UserControls in layout.master and the custom code can go in the user controls.

Hope that helps,

Joe

3/15/2012 12:44:54 PM
Gravatar
Total Posts 148

Re: Settings Page Too Narrow

 

I was under the impression the layout.Master in the skins folder inherited from the layout.Master under the App_MasterPages folder.... that there was an inheritance relationship so we could add a code behind to the layout.Master in our skin without changing the mojoPortal source code.  

I never change any of the mojoPortal source code.

3/15/2012 12:49:46 PM
Gravatar
Total Posts 18439

Re: Settings Page Too Narrow

You are correct about the first part, that is the codebehind for all copies of layout.master but it is compiled into mojoPortal.Web.dll and you should not modify it as that would be forking the code and you cannot create your own code behind for layout.master because it cannot have more than one code behind.

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