November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Any update on this.. As i have same issue.. i want to hide one of custom tab in specific pagetype based on some condition. I dont know how to access the custom tab through code.
This should get you started.
public class TabRemover : PlugInAttribute
{
public static void Start()
{
EPiServer.UI.Edit.EditPanel.LoadedPage += EditLoaded;
}
public static void EditLoaded(EditPanel sender, LoadedPageEventArgs e)
{
if (e.Page.PageTypeName == "News Archive Page")
{
if (e.Page.Property["PageCategory"] != null)
{
e.Page.Property["PageCategory"].DisplayEditUI = false;
}
}
}
}