programmers envy us,
designers want to be us
DotNetNukeDotNetNuke

DotNetNuke

Having trouble dealing with reading text in the FCK Editor or Link Gallery? Learn two simple tricks to solve the problem with CSS.

Read More »

DotNetNuke is a great platform for managing a website.  It’s easy to add new pages, add new modules of functionality...

Read More »

Posted in: DotNetNuke

Majority of the websites Web Ascender puts together is based on the DotNetNuke platform and we are hitting a new milestone

Read More »

Posted in: DotNetNuke

DotNetNuke – Show the logged in users name

The DotNetNuke documentation does not always have everything you need to customize the system. Often times you need to open up DotNetNuke in Visual Studio to review some of the methods that are available to you in the skins / ascx controls.

Here is how to show the first name, last name or show the username of the logged in user in DotNetNuke / DNN.

<%If HttpContext.Current.User.Identity.IsAuthenticated=True Then%>


Welcome

<%=UserController.GetCurrentUserInfo().FirstName%>

,

<%End If%>

 

<% If HttpContext.Current.User.Identity.IsAuthenticated=False Then %>


 | Sign Up

<% End If %>

 

<% If HttpContext.Current.User.Identity.IsAuthenticated=True Then %>


 | 

<% End If %>




To show the username of the logged in user in DotNetNuke you can use UserController.GetCurrentUserInfo().UserName

Read More »

Posted in: DotNetNuke

Michigan Web Design Blog