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...Skins, Themes, ...Skins, Themes, ...Skinning help - design with no solpart menu but need admin menu when logged in??Skinning help - design with no solpart menu but need admin menu when logged in??
Previous
 
Next
New Post
1/13/2007 9:08 PM
 

 

Hi everyone.  I just released a free Skin Object for making a seperate Navigation List for when you are logged in as admin, or to use on your site for quick navigation.

It is a much lighter weight alternative then loading the Solpart menu for this simple task.

You can find out more about it in this thread:  Free SimpleNavList SkinObject.


DotNetNuke Modules from Snapsis.com
 
New Post
1/20/2007 9:18 AM
 
dnncreative wrote
Hi All,

I also use this technique which is a bit easier to remember:

[MENU]



This will just show the menu when you are logged in as host / admin.

Thanks,

Lee

Anyway to make this show while on the admin/host pages, it works fine on the main pages but when im in admin it is not showing.

 
New Post
3/12/2007 2:01 PM
 

Hi Timo,

I am new in dnn. i am trying to do what you explain in your post and i don't get it work.

I'm modifying the css file located in ...dnn\Portals\0\Skins\ScribbleBlueSkin\images named default.css. First of all, i don't find #mainmenu... Moreover, I've been taking a look at my portal.ascx and my pages are not listed with li, but like this:

<span id="dnn_dnnSOLPARTMENU_ctldnnSOLPARTMENU" ...>
<xml id="SolpartMenuDI"...>
<root>
<menuitem id="56" ...>
<menubreak  ...>
<menuitem id="57" ...>
<menubreak  ...>
...
</root>
</xml>
</span>

The problem is that in my css, the style related to the menu is in a TD, and then, the overflow:hidden doesn't work.

anyone can help me?

thanks a lot

 
New Post
3/12/2007 6:38 PM
 
Please note that my example is done with the  Housemenu skinobject and not the default solpart menu.
(The site has moved and is a bit empty at the moment)
It will only work with a menu that renders an unordered list,  solpart doesn't.
 
New Post
4/2/2007 5:27 PM
 
John Mitchell wrote
This should work:

< script runat="server" >
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If DotNetNuke.Security.Permissions.TabPermissionController.HasTabPermission("EDIT") OrElse DotNetNuke.Security.PortalSecurity.IsInRole(PortalSettings.AdministratorRoleName) Then
dnnMenu.Visible=true
Else
dnnMenu.Visible=false
End If
End Sub
< / script >

Is there a way to extend this to only show if the HOST account is logged in to show, and if any other account including Administrator is logged in to hide?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skinning help - design with no solpart menu but need admin menu when logged in??Skinning help - design with no solpart menu but need admin menu when logged in??


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