Jul
29
Written by:
jerryharbin
7/29/2010 3:12 AM
If you want the currently Active Page's immediate Parent Tab Name try this:
<%=PortalSettings.ActiveTab.BreadCrumbs(PortalSettings.ActiveTab.Level - 1).TabName %>
To get the ID of the tab/page you would use:
<%=PortalSettings.ActiveTab.TabID %>
To print out if a User is logged in or not logged in you can use something like :
<%= iif(Request.IsAuthenticated,"LoggedIn","NotLoggedIn") %>
How to show the name of the Portal.
<%= PortalSettings.PortalName %>
To get the current portal's home directory (i.e. /portals/0 ) you would use:
<%= PortalSettings.HomeDirectory %>