Determine if page is set as Home?
I have the node and data page objects, but I'm usure how to know if the page is marked as "Home" or not?
Hello,
The following piece of code will give you the home page ID (if in multysite you will get the home page for the current site):
var homePageId = SystemManager.CurrentContext.CurrentSite.HomePageId;
if
(SystemManager.CurrentContext.CurrentSite.HomePageId == Telerik.Sitefinity.Web.SiteMapBase.GetActualCurrentNode().Id)
// homepage