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

Modified version of Joshua Folkerts' PageTypeTabs for EPiServer.

Notifications You must be signed in to change notification settings

noaignite/EPiServer.PageTypeTabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published