Allow anonymous users to see authenticated pages in menu

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.
11/30/2009 4:27:55 AM
Gravatar
Total Posts 7

Allow anonymous users to see authenticated pages in menu

I need to display pages (that are viewable by only authenticated users) in the menu for all users. i.e when an anonymous user visits the page, they can see all the pages in the menu control, but when they try to browse a page they are prompted for a login. Is this possible or is there a workaround to get this working?

11/30/2009 4:53:47 AM
Gravatar
Total Posts 550

Re: Allow anonymous users to see authenticated pages in menu

Hi Joe,

I think a "Authentication Required?" option for page settings may be a nice thing to have. So that when an anunymous user click on a page he/she see the login page and after login redirected to the page.

Best,

Asad

11/30/2009 3:04:37 PM
Gravatar
Total Posts 18439

Re: Allow anonymous users to see authenticated pages in menu

There is a way to do it, I suppose it could reasonably be called a workaround. I just created a document here explaining the steps.

http://www.mojoportal.com/how-to-show-a-page-that-requires-authentication-in-the-menu-for-non-authenticated-users.aspx

Hope it helps,

Joe

12/1/2009 1:05:09 AM
Gravatar
Total Posts 7

Re: Allow anonymous users to see authenticated pages in menu

Great, thanks for the prompt reply :-)

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