Skip to content
This repository was archived by the owner on May 7, 2019. It is now read-only.

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

EPiServer.PageTypeTabs

EPiServer.PageTypeTabs is a slightly modified version of Joshua Folkerts' PageTypeTabs for EPiServer. This version allows you to separate the page types within each tab into separate sections. This was developed and tested with EPiServer CMS 6 R2 and PageTypeBuilder 1.3.1.

Usage

  1. Update the Virtual Path Mapping in episerver.config to point to the new CreateNewPage.aspx file.

  2. Create your tabs similar to how you would create a PageTypeBuilder tab

    public class MyPageTypeTab : PageTypeTab { public override string Name { get { return "My Tab"; } }

     public override int SortIndex
     {
     	get { return 100; }
     }
    

    }

  3. Add the PageTypeTab attribute to your PageType classes

    [PageTypeTab(Tab = typeof(MyPageTypeTab), Section = "General Pages")] [PageType(Filename = "/MyPage.aspx", Name = "My Page")] public class MyPage : TypedPageData { }

The Section property can be any string. Page types with the same Section string will be grouped together. If a Section is not specified, it will be part of an unlabelled section.

About

Modified version of Joshua Folkerts' PageTypeTabs for EPiServer.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages