DocumentHelper EnsureBlogPostHierarchy Method (TreeNode, TreeNode, TreeProvider)Kentico 8.1 API Reference
Ensures that the parent document of the blog post is blog month.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Return Value

Type: TreeNode
ID of the new parent (blog month document if CMS.BlogMonth document type exists)
See Also