Reputation: 11
I manage to get the portal list from PortalController.GetPortals(). What is the next step for me to get the friendly URL from this list?
Upvotes: 1
Views: 1017
Reputation: 8943
If you want to get the FriendlyURL For a page in DotNetNuke you want to use
DotNetNuke.Common.Globals.NavigateURL()
If you want to get the Portal Alias for a portal, you can get that from the PortalSettings controller in DNN, that or simply look at the PortalAlias table based on the PortalID
Upvotes: 1