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...Administration ...Administration ...How do I change Home Page after User Log In?How do I change Home Page after User Log In?
Previous
 
Next
New Post
10/9/2014 12:44 PM
 
I would like the same behavior like Facebook.

When you type fb.com you have a homepage with some info, register and login.

When you're logged in, if you type fb.com or click on the logo you're sent to your news feed page.

How to do it on dnn7?
 
New Post
10/9/2014 3:21 PM
 
in site settings, there is an option for "page after login"
Note: this setting is not supported, if using DNN content localization.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/9/2014 11:16 PM
 
I'm actually using it.

After Login, the user is sent to Forum page.

The Home page has useless information for logged users, so I made it visible only for not Registered Users. This way, when the user logs in, the Home page is not even on the menu.
But when the users click on the site logo or type root URL, the Access Denied page is shown. That's what I would like to avoid.

The behavior desired is like bellow:

When anonymous:
website.com > Home
logo click > Home

When logged in:
website.com > Forum
logo click > Forum

I've thought to make it by using only Home page with both modules from Original Home page (visible for anonymous users only) and modules from Forum page (visible for registered users only). But I'm not sure that this is a good approach.

Do you have any suggestions?
 
New Post
10/10/2014 1:44 AM
 
Roberto,

I would not make it invisible for logged on users. What you could do is making the modules that contain the "usesless" information visible only for non-authenticated users, and provide some useful information for registered users there (e.g. a list of the newest forum posts etc.), or add some injection to the home page that redirects registered users to the forum page.

Best wishes
Michael

Michael Tobisch
DNN★MVP
dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
10/10/2014 3:56 AM
 

Hi Roberto,

I would take the approach that Michael has said, use the permissions on module level.

Another option is...

not to use the Dnn logo control and hard code the logo into your skin file using some logic to redirect the user to the right page by role....

<script runat="server" lang="vb">

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

If DotNetNuke.Security.PortalSecurity.IsInRole("Registered Users") Then

display logo for registered use with link to forum

else

display logo for anonymous users with link to homepage

End If

</script>

There are drawbacks using this method though.

Hope this helps,

Regards,

Geoff.


      
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How do I change Home Page after User Log In?How do I change Home Page after User Log In?


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out