问题
I want to have a link on children pages that is not only the name of the parent page, but also links to the parent page in DNN.
回答1:
Use this in your skin ascx file
<a href="<%= ((DotNetNuke.Entities.Tabs.TabInfo)PortalSettings.ActiveTab.BreadCrumbs[ PortalSettings.ActiveTab.Level - 1 ]).FullUrl %>">
<%= ((DotNetNuke.Entities.Tabs.TabInfo)PortalSettings.ActiveTab.BreadCrumbs[ PortalSettings.ActiveTab.Level - 1 ]).TabName %>
</a>
Note: this is for a C# skin.
来源:https://stackoverflow.com/questions/43261564/how-to-get-name-link-of-parent-page-in-dnn