コード例 #1
0
        public void Compose(Composition composition)
        {
            //disable some of the default core tours since they don't make sense to have when the starter kit is installed
            composition.TourFilters().AddFilter(BackOfficeTourFilter.FilterAlias(new Regex("umbIntroCreateDocType|umbIntroCreateContent|umbIntroRenderInTemplate|umbIntroViewHomePage|umbIntroMediaSection")));

            composition.Components().Append <StarterKitComponent>();
        }
コード例 #2
0
 protected override void ApplicationStarting(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
 {
     //disable some of the default core tours since they don't make sense to have when the starter kit is installed
     TourFilterResolver.Current.AddFilter(BackOfficeTourFilter.FilterAlias(new Regex("umbIntroCreateDocType|umbIntroCreateContent|umbIntroRenderInTemplate|umbIntroViewHomePage|umbIntroMediaSection")));
 }