In DNN 9 - How do I display the name and link of the Active Page's Root level Parent?
问题 I am trying to add some code I found on this forum in my skin .ascx file to display the name and link of the Active Page's Root level Parent. I am using DNN 9.1.1. Here is where I found the code: How to get name & link of parent page in DNN <a href="<%= ((DotNetNuke.Entities.Tabs.TabInfo)PortalSettings.ActiveTab.BreadCrumbs[0]).FullUrl %>"><%= ((DotNetNuke.Entities.Tabs.TabInfo)PortalSettings.ActiveTab.BreadCrumbs[0]).TabName %></a> It works visually, but I am getting some weird issues. With