I follwed the instructions in the documentation
Based on the example, I can create the custom layout file here:
Then when registering the layout from the back end adminstration, I only need to specify the path is specified as:
But when I tried to implement the example, I get the following message when attempting to add the Layout to a page:
Cannot find template "~/CustomLayouts/HeaderLayout.ascx"
Is there another step I need to follow?
Do I need to create a virtual path?
How is Sitefinity to know that "~/CustomLayouts/HeaderLayout.ascx" translates to ~/App_Data/Sitefinity/WebsiteTemplates/PublicWebsite/CustomLayouts/HeaderLayout.ascx?