Display page title in DNN Skin

I want to use the active "tab" - the name or page name inside my DNN shell.

I can not find anything on the Internet about this (which is a bit strange). I am looking for control or sth. which I could use inside my ascx file.

+4
source share
1 answer

I do not think that there is a built-in skin object to display the page name. You can use this snippet in your skin to get the page name:

<%= Server.HtmlEncode(PortalSettings.ActiveTab.TabName) %> 

You can also get the page title (the text displayed in the title bar of the browser window) with

 <%= Server.HtmlEncode(PortalSettings.ActiveTab.Title) %> 
+12
source

Source: https://habr.com/ru/post/1401833/


All Articles