Login Logout DotnetNuke 5


Author Message
Donovan

Posted: 11/12/2010
Quote message 

I try to export a dotnetnuke 5 skin with the options:
Use DNN menu and without DNN menu.

The problem i run into. When export the module with the DNN menu in the topbar the login and registration is showt
When i dont use the dotnet menu don't have a option to logon.

If i try to add a logon tab (now problem) don't have the option to logout :-<
No idea what i am doing wrong.

Does anybody have the same problem or can explain this?
 
Steven Webster

Posted: 11/15/2010
Quote message 

Stefanie,
You need to include the DNN User control in your skin. Artisteer does not include this automatically so you'll have to do a little hack to your page.ascx file.

In the top of the page, just below the other declarations add this:

<%@ Register TagPrefix="dnn" TagName="USER" Src="~/admin/Skins/User.ascx" %>


Then, wherever you want to display your login/logout add this:

<dnn:Login runat="server" id="dnnLogin" />


You can wrap it in a div with a CSS class to format/position it.

That should do it.
 
Donovan

Posted: 11/16/2010
Quote message 

I get the picture O:) its working!!
Quote Steven Webster:


<dnn:Login runat="server" id="dnnLogin" />


You can wrap it in a div with a CSS class to format/position it.

That should do it.