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 ...DNN Menu, one for logged out, one for adminDNN Menu, one for logged out, one for admin
Previous
 
Next
New Post
5/22/2009 2:14 PM
 

I've got a skin that i'm creating from scratch in 4.09.01. The menu and search bar are on the same line with a three-pane layout below.

My issue is that when logged in, the admin and host menus will push the search bar off the line. And if there are too many pages on the top-level, they'll wrap down to the line.

Can I, in some way, alter the width of the menu for people who are logged in. So when you arrive at the site (logged out), the menu is 800px wide, when you log in as an admin or host user it expands to 1090px?

I'm using DNN Nav for my menu provider (silly i know, given the other options out there).

 
New Post
5/22/2009 5:14 PM
 

You would have to create two different skin.ascx files with the settings you wanted then under Admin > Site Settings, you have a choice to select which skin you want for the Admin or as the default.

Hope this helps.

Jerry

 
New Post
5/29/2009 12:04 AM
 

What I usually do is stick a menu that only shows if you have permissions. Unfortunately, we cannot specify permissions on SkinObjects (hint - hint), but this piece of code I found on the web works for me in my skins (modify as needed). I usually stick it right above the control panel, as shown below.

<% If DotNetNuke.Security.PortalSecurity.IsInRoles(PortalSettings.AdministratorRoleName) Or DotNetNuke.Security.Permissions.TabPermissionController.HasTabPermission("EDIT") Then%>
<div id="Admin">
 <dnn:NAV runat="server" id="navADMIN" ProviderName="DNNMenuNavigationProvider" IndicateChildren="True" ControlOrientation="Horizontal" PopulateNodesFromClient="false" CSSControl="adminmenu" />
</div>
<% End If%>
<div runat="server" id="ControlPanel"></div>
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN Menu, one for logged out, one for adminDNN Menu, one for logged out, one for admin


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