Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

How to order the available page types when creating a new page?



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.

Apr 29, 2013 9:32

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):

namespace EPiServer.Templates.Alloy.Models.Pages
       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.

May 24, 2013 0:41
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.