This skin shows you some of the DNN Framework data you can use in your skins (just like you can use <%=SkinPath%>)
The part between <%= and %> will be replaced dynamically by the Framework.
Everything in Blue is the dynamic result of the Token mentioned on the previous line
These are supposed to be used in ASCX skins.
If you have any remarks or questions, please let me know.
2017-05-24, Timo Breumelhof
Page Attributes
Page Description =
PortalSettings.ActiveTab.Description
Page Link =
PortalSettings.ActiveTab.FullUrl
https://demo.40fingers.net/dnn-framework-attributes-demo-skin/Pages/Sub-Page-2
Page Name =
PortalSettings.ActiveTab.TabName
Sub Page 2
Page Title =
PortalSettings.ActiveTab.Title
Page Keywords =
PortalSettings.ActiveTab.KeyWords
Page TabId =
PortalSettings.ActiveTab.TabID
2322
Page Level =
PortalSettings.ActiveTab.Level
1
Page Icon =
PortalSettings.ActiveTab.IconFile
/40f-skin-attributes-demo/40F-100px.png
Page Icon Large =
PortalSettings.ActiveTab.IconFileLarge
Page Has Child Pages
PortalSettings.ActiveTab.HasChildren returns True if the current page has Children.
This page has Children = False
Breadcrumbs
PortalSettings.ActiveTab.BreadCrumbs(x) returns the page info (TabInfo) on level x.
The problem is that if you ask for a non exisiting page you get an error, so you need an extra check
Root page Name =
If PortalSettings.ActiveTab.Level > (0) Then Response.Write(PortalSettings.ActiveTab.BreadCrumbs(0).TabName)
Pages