Vulnerability in EPiServer.Forms
Is there a way to influnce in which order the available page types are displayed when creating a new page?
When you are creating a new page you first get the recommended page types and then the other page types. But these always overlap, is there a way to get the "other pages" to only show the rest of the available page types, dependent on what are showen in the recomenden section? Or is there a way to remove the recomended section?
thanks for any help.
You can change which group your page type belongs to, and the sort order of the page types in that group, but AFAIK there is no built-in way to disable the "suggested page types" group which causes the overlap you're refering to on the "New page" screen.
Changing a page type's group and sort order in code (taken from Alloy demo templates):
GUID = "DBED4258-8213-48DB-A11F-99C034172A54",
GroupName = Global.GroupNames.Specialized,
public class LandingPage : SitePageData
// Property definitions here
If you don't specify a GroupName for your page type, it will default to the "Other page types" group. If you don't specify an Order, it will default to 0.