Saturday, November 24, 2018

Shared and Final Layouts in Sitecore 9


Hi All, In this post we will see about shared and layouts in sitecore.
Let's Move,

In sitecore you can specify presentation details for an item which is shared across different versions of an item or same version/language. 

For each item, you can specify the presentation details for:

The shared layout – stores the presentation details that are shared by all the versions of the item in every language.
The final layout – stores the combination of the presentation details on the selected version of the item and the presentation details of the shared layout. This is the layout that your visitors see on your website.

Shared and final layout has been stored as XML in _Renderings and _Final Renderings field.
_Renderings => Shared
_Final Renderings =>Item version specific.
XML of both files is merged together to create the final presentation.

Add/Edit the layout of an Item:


Step 1:  In the Content Editor or the Experience Editor, navigate to the item or page that you want to edit the layout for.

Step 2:  On the ribbon, on the Presentation tab, in the Layout group, click Details.



Step 3: In the Layout Details dialog box:

      Click the Shared Layout tab to edit the presentation details that apply to all the versions of the item.
     Click the Final Layout tab to edit the presentation details for the current version of the item.




Step 4: Add/Edit the layout,Controls etc.



Step 5: if you want to reset a layout
    On the ribbon, on the Presentation tab, in the Layout group, click Reset.




Please share with your friends. Happy Coding :)

No comments:

Post a Comment

Check the users Logged into the sitecore backend

Hi, Today I'm going to discuss about " how to check the concurrent users logged into the sitecore backend ? ". For this ...