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...Administration ...Administration ...Appearance: Logo: privileged usersAppearance: Logo: privileged users
Previous
 
Next
New Post
2/18/2008 11:15 AM
 

How do I make the logo visible only to users with certain security roles and not to all users? I'm thinking it has something to do with the login portion of the homepage...?  I can assign pages  to be viewed by certain roles, but can't figure out how to do that for the logo. Thanks in advance.

 
New Post
2/18/2008 1:59 PM
 

This is not something that is just a config setting.

You could possibly get around it by having a skin that doesn't have the logo in it, and applying it to the login page, but this ONLY works if you have no content to display to unauthenticated users.

If you must have both, you will need to look at customization.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
2/18/2008 2:14 PM
 

I don't know if it works or not, I haven't tested but I came across this in a topic about skinning somewhere. They put this in the ASCX page just under where the "register tagprefixes are: ( I think it was to hide/show the admin actions on modules. You may be able to modify to get to work with the logo.)

<script runat="server">
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    If DotNetNuke.Security.PortalSecurity.IsInRole("SiteAdministrators") Then
              dnnACTIONS.Visible=true
   dnnACTIONBUTTON5.Visible=true
   dnnACTIONBUTTON1.Visible=true
   dnnACTIONBUTTON4.Visible=true
    Else
              dnnACTIONS.Visible=false
   dnnACTIONBUTTON5.Visible=false
   dnnACTIONBUTTON1.Visible=false
   dnnACTIONBUTTON4.Visible=false
    End If
End Sub
</script>

 
New Post
2/18/2008 2:32 PM
 

Mitch,

That is a great suggestion to apply a no-logo skin solely to the login where there's no content of importance for working purposes. It's not worth it for me to customize it since disabling the logo from public view was just a temporary situation. This is a good workaround though (no-logo skin / login). Thanks for replying. Much appreciated. -- Val

 
New Post
2/18/2008 3:05 PM
 

Justin,
Thanks for the tip. I'll have to sandbox this another time since I'm not very familiar with user controls to trust successful outcomes. I'm really lucky I got this far without the wheels falling off my project. :) Since I only need a temporary solve, I'll either leave the logo off or, per Mitch's suggesion, apply a no-logo skin to login. (Quick and dirty.) However, I'm keeping the script to test for some future project. Wonder if it works?  Again, thanks.   -- Val

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Appearance: Logo: privileged usersAppearance: Logo: privileged users


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