layout.master not reflected

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
7/7/2012 7:51:32 AM
Gravatar
Total Posts 21

layout.master not reflected

Hi,

I am new to mojoportal. I have started designing my first skin in mojoportal. The problem I am facing is the layout.master what I have written is not working. The site automatically assigns one of the default mojoportal skin's layout.master file. Anyone please help me. Thanks in advance.

7/7/2012 10:18:19 AM
Gravatar
Total Posts 18439

Re: layout.master not reflected

If you make a mistake in your layout.master it may fail to load because of an error. It will fallback to a failsafe layout.master and it will log the error. Check Administration > System Log

Hope that helps,

Joe

7/9/2012 1:47:30 AM
Gravatar
Total Posts 21

Re: layout.master not reflected

Hi Joe,

Thanks for your suggestion. I am checking the system log file. While checking, in many places it is showing mojoPortal.Business.WebHelpers.IndexHelper - handled error:
System.ArgumentException: attempt to access a deleted document.

and

/Admin/SiteSettings.aspx - mojoPortal.Web.mojoBasePage - Error setting master page. Will try setting to default skin.en-US - 10.0.3.22
System.Web.HttpException (0x80004005): The file '/Data/Sites/1/skins/newtheme/layout.Master' does not exist.

I don't know why it is showing, because I named the skin as Data/Sites/1/skins/skinnew. then how can it refers to newtheme/layout.master. There is no skin named newtheme in my skins folder. At first I named a skin as newtheme. But later on I deleted that skin. But still the skin is referred. Please help me to get out of this error.

Thanks,

Siva

7/9/2012 10:22:05 AM
Gravatar
Total Posts 18439

Re: layout.master not reflected

Did you select the new skin name from site settings and save it? If you renamed it in the file system you must re-select it in site settings.

You may need to rebuild your search index.

Hope that helps,

Joe

7/12/2012 12:27:02 AM
Gravatar
Total Posts 21

Re: layout.master not reflected

Thanks Joe.

Now it's working. Actually the problem is with my layout.master file only.

I didn't notice the mistakes that have made in layout.master file. Now I corrected the mistakes.

Thank you very much.

Siva

 

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