Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Registed only view, but always in MenuRegisted only view, but always in Menu
Previous
 
Next
New Post
8/12/2012 9:39 PM
 

No this is not a skin issue.

I want to have an page show up in menu, but NOT be visible until they log in.

For example the menu will ALWAYS show "Getting Started" but that page permission is "Registered only" for view.

So if someone clicks on menu item Getting started, it wil ask them to log in

 

 
New Post
8/13/2012 7:11 AM
 
HttpContext.Current.User.Identity.IsAuthenticated will be true or false depending on whether the current user is anonymous or logged in to your site

Add a section at the top of the page that is wrapped in ==false condition telling the user he needs to log in to see the content.

Wrap the ordinary page content in a ==true condition.

Bill
 
New Post
8/13/2012 10:13 AM
 
Hi,

well there is a way:

First create the page visible for registered users. This will not be shown in the menu when the user is not logged in.

Then create a page visible for unauthenticated users. This will be shown in the menu for users who are not logged in.

Go to Page Settings :: Advanced Settings :: Other Settings and check the option that the page links to another page of the portal. Select the page for registered users.

The only problem is that you cannot give the same name to both pages. So you have to call them differently, e.g "Very Important Information" and "Very Important Information (Login)".

Best wishes
Michael

Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Registed only view, but always in MenuRegisted only view, but always in Menu


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out