Custom skin from anonymous users.

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
12/2/2011 2:46:52 AM
Gravatar
Total Posts 123
/Mats Lillnor

Custom skin for anonymous users.

Hi!

I am building several sites used for closed groups, so that there is a mandatory login to even see any content.

I have done like this.

Only the default page is visible by anonymous users.

On the default page I have placed a login module which is automatically invisible when logged in. I have also created a HTML module with a message about the site and how to log in and under "general" set this as "Hide from logged in users" On the page there are also other content modules which on the security tab are set to only show for authenticated users.

This works great. The result is that when not logged in you see the login message and the sign-in module and after you have logged in you see the the other content instead of the login-message and the sign-in module.

Here is an example: http://custos.itf.se/

However, the skin is the same and visible for all visitors, logged in or not, and this is not what I want.

I know I can make a custom skin for a specific page, but then this will show the same regardless if you are logged in or not.

I would like to place information in both the header and the footer that should only be visible by logged in users. Is this possible? Any suggestions?

 

/Mats

12/2/2011 6:59:00 AM
Gravatar
Total Posts 18439

Re: Custom skin from anonymous users.

Hi Matz,

We don't have anything to enable a different skin for anonymous users but you can easily show different content in your layout.master for authenticated vs non authenticated users. See this article on the i7MEDIA blog about using the LoginView Control.

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.