protected override void OnInit(EventArgs e) { var showSlugsList = string.Equals(QueryHelper.GetString("subtab", null), PageRoutingUIHelper.SLUGS_LIST_SUBTAB_NAME, StringComparison.InvariantCultureIgnoreCase); if (showSlugsList) { URLHelper.Redirect(URLHelper.ResolveUrl(PageRoutingUIHelper.GetSlugsListingPath(Node.NodeID, Node.DocumentCulture))); } DocumentManager.RegisterEvents = false; DocumentManager.UseDocumentHelper = false; DocumentManager.CheckPermissions = false; base.OnInit(e); // Enable split mode EnableSplitMode = true; // Register the scripts ScriptHelper.RegisterLoader(Page); if (!MembershipContext.AuthenticatedUser.IsAuthorizedPerUIElement("CMS.Content", "Properties.URLs")) { RedirectToUIElementAccessDenied("CMS.Content", "Properties.URLs"); } pnlAlternativeUrls.Visible = AlternativeUrlHelper.IsAlternativeUrlUIEnabled(Node.NodeSiteID); pnlPageUrlPath.Visible = pnlContainer.Visible = PageRoutingHelper.GetRoutingMode(Node.NodeSiteID) == PageRoutingModeEnum.BasedOnContentTree; // Hide option to view all slugs when only one culture is assigned to the site btnDisplaySlugs.Visible = Node.Site.HasMultipleCultures; ScriptHelper.RegisterModule(this, "CMS/Clamp", new { elementWithTextSelector = ".static-textpanel" }); }