mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
committed by
Sébastien Ros
parent
81a767bd26
commit
fbd9e873c5
@@ -48,12 +48,13 @@ namespace Orchard.Taxonomies {
|
||||
.WithPart("TaxonomyNavigationPart")
|
||||
.WithPart("MenuPart")
|
||||
.WithPart("CommonPart")
|
||||
.WithIdentity()
|
||||
.DisplayedAs("Taxonomy Link")
|
||||
.WithSetting("Description", "Injects menu items from a Taxonomy")
|
||||
.WithSetting("Stereotype", "MenuItem")
|
||||
);
|
||||
|
||||
return 4;
|
||||
return 5;
|
||||
}
|
||||
|
||||
public int UpdateFrom1() {
|
||||
@@ -77,5 +78,14 @@ namespace Orchard.Taxonomies {
|
||||
|
||||
return 4;
|
||||
}
|
||||
|
||||
public int UpdateFrom4() {
|
||||
ContentDefinitionManager.AlterTypeDefinition("TaxonomyNavigationMenuItem",
|
||||
cfg => cfg
|
||||
.WithIdentity()
|
||||
);
|
||||
|
||||
return 5;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user