Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Vote for DotNetNuke as your choice for winner of this year's PackT Open Source CMS Award
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Appearance: Logo: privileged users
Previous Previous
 
Next Next
New Post 2/18/2008 7:15 AM
User is offline Valery
43 posts
10th Ranked


Appearance: Logo: privileged users 

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 9:59 AM
User is offline Mitch Sellers
5357 posts
www.mitchelsellers.com
3rd Ranked




Re: Appearance: Logo: privileged users 

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
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.
View Mitchel Sellers's profile on LinkedIn

Visit mitchelsellers.com for DotNetNuke tutorials, modules and technical help

Custom DotNetNuke Services Available (Development, etc).

My sites are hosted with 3Essentials
 
New Post 2/18/2008 10:14 AM
User is offline Justin Ball
93 posts
www.justinball.net
10th Ranked


Re: Appearance: Logo: privileged users 

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 10:32 AM
User is offline Valery
43 posts
10th Ranked


Re: Appearance: Logo: privileged users 

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 11:05 AM
User is offline Valery
43 posts
10th Ranked


Re: Appearance: Logo: privileged users 

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 Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  Appearance: Logo: privileged users
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Bring2mind
Document Centric DNN Module Solutions
www.bring2mind.net
WEBPC™ DotNetNuke® sites for Small Business
WEBPC™ are internet consultants and web hosters catering to the small business market.
www.webpc.biz
Perpetual Motion Interactive Systems Inc.
A solutions company specializing in Microsoft enterprise technologies.
www.perpetualmotion.ca

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP