Products

Solutions

Resources

Partners

Community

About

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 ...Remove Message and Notifications Link Options in the Menu Bar in DNN 6.2Remove Message and Notifications Link Options in the Menu Bar in DNN 6.2
Previous
 
Next
New Post
6/20/2012 9:50 AM
 
Thank you both for those comments. I have a question for both of you:

Matthias - I made your changes by replacing the LOGIN and USER lines with the lines you suggested which were:
< dnn:LOGIN runat="server" id="dnnLOGIN" cssclass="LoginTokens" />
< dnn:USER runat="server" id="dnnUSER" cssclass="LoginTokens" />
This worked and got rid of the avatar and the message and notification links. However, it changed the format of the username display and the Login button -- they are positioned in the top of the box and not quite aligned properly. I can live with this issue but I was wondering if it is possible to center them a bit better by adding any code.

Cathal -- Which file can I find the ShowUnreadMessages and ShowAvatar properties in? They do not appear in the .ascx file that the above code came from and they are not in the skin.css file. I tried looking in some of the login.ascx and user.ascx files and I can't seem to come across them. I think that simply switching both of these properties off should do the trick as well.
 
New Post
6/20/2012 11:17 AM
 
Cathal, I was actually able to locate the following under the user.ascx file in admin/Skins/...

< li class="userMessages alpha" runat="server" ID="messageGroup">
< li class="userNotifications omega" runat="server" ID="notificationGroup">
< li class="userDisplayName">
< li class="userProfileImg" runat="server" ID="avatarGroup">

I thought that deleting one of these lines may get rid of the messages, notifications, and avatar links but unfortunately it just caused a DNN error. Do I make changes here?
 
New Post
6/20/2012 1:02 PM
 

hello,

they are optional properties of the user skin object so you can add them in the declaration e.g.

< dnn:USER runat="server" id="dnnUSER" cssclass="LoginTokens" ShowUnreadMessages="false" ShowAvatar="false" />


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
6/20/2012 1:11 PM
 
Thanks so much! Now it is configured just as I had hoped for.
 
New Post
9/25/2012 3:21 PM
 
Thanks Cathal and Matthias. That was exactly what the doctor ordered.

< dnn:USER runat="server" id="dnnUSER" cssclass="LoginTokens" ShowUnreadMessages="false" ShowAvatar="false" />

^ Worked beautifully

And thanks to the core team for thinking ahead and adding those attributes.

-something clever or funny.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Remove Message and Notifications Link Options in the Menu Bar in DNN 6.2Remove Message and Notifications Link Options in the Menu Bar in DNN 6.2


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