Forums
>
Skinning Toolkit
>
Skinning Toolkit
hide skin
Last Post 11/05/2010 11:14 AM by
mkk
. 4 Replies.
Author
Messages
mkk
Nuke Pro
Posts:62
11/04/2010 1:55 PM
Hi all, how to hide complete skin if user is not logged in?
Joseph Craig
DNN MVP
Posts:11667
11/04/2010 7:18 PM
I'm not sure what you mean by "hide complete skin." Can you try asking the question differently?
Joe Craig,
Patapsco Research Group
Complete DNN Support
mkk
Nuke Pro
Posts:62
11/04/2010 9:40 PM
Hi Joe,
I meant menu, i just want to display menu to logged in users.
Joseph Craig
DNN MVP
Posts:11667
11/04/2010 9:57 PM
In your skin file, wrap the code for your menu like this:
< % If Request.IsAuthenticated Then% >
put your menu code here ...
< % End If% >
-----------
Make sure to remove the extra spaces around the brackets.
Joe Craig,
Patapsco Research Group
Complete DNN Support
mkk
Nuke Pro
Posts:62
11/05/2010 11:14 AM
hi joe,
thanks a lot got it.
Forums
>
Skinning Toolkit
>
Skinning Toolkit