Several layout.master in the same website

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/25/2013 9:10:49 AM
Gravatar
Total Posts 39
Hello from France!

Several layout.master in the same website

Hello,

Is it possible to use a layout.master for Home page and a second layout.master for the other pages?

So is it possible to use a specific layout.master for one page?

Thanks in advance

Christian

7/25/2013 10:29:05 AM
Gravatar
Total Posts 2253

Re: Several layout.master in the same website

Hi Christian,

Yes, this is possible by enabling the Allow Setting Page Skin option in the Site Settings and then choosing a different skin from the Skin dropdown in the Page Settings.

You can share style between skins by placing the shared CSS in a location easily accessible by all of the skins ("\Data\Style\MySharedStyles\") and then referencing those stylesheets from the style.config of each skin. For example:

<file cssvpath="/Data/Style/MySharedStyles/style-shared.css" imagebasvpath="/Data/Style/MySharedStyles/images/">none</file>

Using this method, you can have all of your style in the shared location and use only a layout.master, style.config and theme.skin in each of your skin folders.

HTH,
Joe D.

7/26/2013 6:16:36 AM
Gravatar
Total Posts 39
Hello from France!

Re: Several layout.master in the same website

YESSSSS !  Thanks Joe.

This is exactly what I need.

Thanks again

Christian

 

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