redconservatory
redconservatory

Reputation: 21924

How to write Base Url in Dot Net Nuke

If my base url is

www.mysite.com

i.e.

<a href="{{ my base url }} /games.aspx">Games</a>
<a href="{{ my base url }} /toys.aspx">Toys</a>

Upvotes: 0

Views: 905

Answers (1)

Chris Hammond
Chris Hammond

Reputation: 8943

You can look up the PortalAlias via the PortalSettings if you ASCX file inherits from PortalModuleBase

PortalSettings.PortalAlias.HTTPAlias

Upvotes: 1

Related Questions