For example, you may have a landing page with various callouts to other content. These content items would exist in other parts of the tree. For these callout Sublayouts you would not want them accessing the current page item, you would want them pointing at another object that would store the callout title, image and link.
Here are the steps to set the data source on a sublayout on a page.
- Login To Sitecore and open the content editor
- Navigate to the page you want to edit
- Click on Presentation -> Details in the top menu
- In the Details Panel click on Edit
- Click on Controls to see the list of sublayouts
- Click on the Sublayout you want to change the data source for
- Click on the data source field. You can either manually enter the path or click browse to choose the content path from the tree dialog
- Click ok to save
- Click ok to close all the other dialogs
No comments:
Post a Comment