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 ...Hiding the "Manage" buttonHiding the "Manage" button
Previous
 
Next
New Post
10/6/2011 7:14 PM
 
Hello,

I have a module with a series of controls and on some of them, it's annoying having the "Manage" button floating over them. Many of the users on the page where the module will be would have edit access.

So, does anybody know if it's possible to, at the control level, disable the "Manage" button - even temporarily?

Thanks,

Mike
 
New Post
10/6/2011 7:37 PM
 
I agree the Manage button is obtrusive and hated it since it got introduced.
See http://www.dotnetnuke.com/Resources/Forums/forumid/109/threadid/425125/scope/posts.aspx

The simplicity of the DNN 5 and below downward arrow was beautiful.  Adding the manage button really cramped up the aesthetics of all of my sites...  To restore similar to the old functionality... use the MinimalExtropy containers plus 


1. Add this to your skin.css file:

.dnnActionMenu{margin:0;padding:0;position:absolute;float:left;z-index:906;color:#000;left:-10px;top:10px;width:480px;}
.dnnActionMenuTag{background:#FFFFFF;background:-moz-linear-gradient(top, #FFFFFF 0%, #FFFFFF 0%);
   background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFFFFF), color-stop(0%,#FFFFFF));
   filter:Alpha(Opacity=0);
   display:block;padding:0px 0px;border:0px #FFFFFF solid;border-radius:0px;-moz-border-radius:0px;line-height:16px;height:16px;font-weight:bold;font-size:11px;min-width:65px;cursor:default;}
    .dnnActionMenuTag img{display:block;float:left;padding-right:0px;}
    .dnnActionMenuTag span{visibility:hidden}

2. Replace images/manage-icn.png with manage-icn.png at http://www.freeimagehosting.net/42ead
 
New Post
10/7/2011 12:07 PM
 
Hello,

Thanks for the reply.

I don't know though - editing it in the skin seems like a blunt instrument. Even if I did it in the module's css file, it would take it away from all module controls, which I don't really want.

I think it would work to just programmatically put the page into "view" mode rather than "Edit" mode. Anybody have any idea how to do that?

Thanks,

Mike
 
New Post
10/7/2011 12:17 PM
 
Hello,

Browsing around in the source code, I found a way to do it - it seems a little messy, but it's a copy of what the framework is using...

Public Sub SetUserMode(ByVal Mode As String)
            DotNetNuke.Services.Personalization.Personalization.SetProfile("Usability", "UserMode" + PortalSettings.PortalId.ToString, Mode.ToUpper)
End Sub

Hope all's well,

Mike
 
New Post
10/9/2011 10:59 PM
 
You could also put it in the head of that particular page... and put the manage-icn.png someplace else or just use the standard manage-png (pencil icon)

(Under advanced settings... put this in the head)


<style type="text/css">

.dnnActionMenu{margin:0;padding:0;position:absolute;float:left;z-index:906;color:#000;left:-8px;top:6px}
.dnnActionMenuTag{background:#FFFFFF;background:-moz-linear-gradient(top, #FFFFFF 0%, #FFFFFF 0%);
   background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFFFFF), color-stop(0%,#FFFFFF));
   filter:Alpha(Opacity=0);
   display:block;padding:0px 0px;border:none;border-radius:0px;-moz-border-radius:0px;line-height:10px;height:10px;width:10px;font-weight:bold;font-size:8px;min-width:10px;cursor:default;}
    .dnnActionMenuTag img{display:block;float:left;padding-right:0px;}
    .dnnActionMenuTag span{visibility:hidden} 

#dnn_dnnSearch_ClassicSearch {position:relative; top:-1px;}
#dnn_dnnSearch_txtSearch {height:10px; width:110px;}

</style>



 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Hiding the "Manage" buttonHiding the "Manage" button


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