Take the community feedback survey now.
AI OnAI Off
Take the community feedback survey now.
I found an article on this so I thought I'd share my findings anyway....
In your PageType class add this to the declaration at the top of the class:
DefaultVisibleInMenu = false
So the code looks like this:
namespace codingexample.Templates.PageTypes
{
[PageType(
Filename = "/Templates/PageTemplates/EventArticle.aspx",
Name = "Event - Awards Event",
AvailableInEditMode = true,
DefaultVisibleInMenu = false,
Description = "Used to add Awards Event")]
public class EventArticleType : PageTypeBase
{
//YOUR CLASS CODE HERE
}
Is it possible to set the default value of Display page in menus to flase for specific page types (not all page types) in Episerver 6 R2?
Thanks
Jon