When true, output Urls from the provider for the specified portalId always include the current DotNetNuke page path (ie example.com/pagename/friendlyUrl) When false, output Urls from the provider for the specified portalId may sometimes not include the current DotNetNUke page path (ie example.com/friendlyUrl)

Namespace: DotNetNuke.Entities.Urls
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public abstract bool AlwaysUsesDnnPagePath(
	int portalId
)
Visual Basic
Public MustOverride Function AlwaysUsesDnnPagePath ( 
	portalId As Integer
) As Boolean

Parameters

portalId
Type: System..::..Int32
paramportalIdM:DotNetNuke.Entities.Urls.ExtensionUrlProvider.AlwaysUsesDnnPagePath(System.Int32)

Return Value

returnsM:DotNetNuke.Entities.Urls.ExtensionUrlProvider.AlwaysUsesDnnPagePath(System.Int32)

Remarks

Defaults to true. Must be set to false by the provider if any call to the 'ChangeFriendlyUrl' method results in the output parameter 'useDnnPagePath' is false. If 'false' is possible, then 'false' must be returned in this method.

See Also