Placeholder for pages when users are not logged in?

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
8/17/2009 11:38:38 AM
Gravatar
Total Posts 3

Placeholder for pages when users are not logged in?

Currently on my portal, pages that are hidden from users that are not logged in get a blank page.  Is there a way for me to set up a "placeholder" page that says: "you are not currently logged in.  Please log in to see this page."  So that the pages that are blocked from public view are not blank?

Any help would be great! 

8/18/2009 7:21:07 AM
Gravatar
Total Posts 18439

Re: Placeholder for pages when users are not logged in?

This is a site administration question not a developer question.

Instead of hiding the page you can have different content shown when authenticated and not authenticated.

Add 2 Html modules to the page and in the settigns of one check Hide From Authenticated - this will show when the user is not signed in.

on the second one marke it hide from anonymous.

Note however these are cosmetic settings not security settings. You can also specify which roles can view it if you want to secure the content.

Hope it helps,

Joe

8/18/2009 10:26:06 AM
Gravatar
Total Posts 3

Re: Placeholder for pages when users are not logged in?

Thanks Joe for the help.  I will give it a shot an see how it turns out.  Sorry about putting it in the wrong forum, move if necessary.


Thanks!

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