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...Skins, Themes, ...Skins, Themes, ...DNN Menu issues - skinsDNN Menu issues - skins
Previous
 
Next
New Post
1/6/2015 2:48 PM
 

Pray forgive me if I'm posting in the wrong area.

I'm still a little new to DNN, but the gist of it is I am trying to get the DNN menu, the one that comes with it for editing purposes of your site, to function properly. It works fine with the provided skins and such that come with it, but once I implemented my own skin it no longer seems to be working. The Modules, Pages, and Users drop downs no longer drop down or are click-able, the user menu bar is wonky, and the Edit Page button no longer works, either. All the other menu links, thankfully, still work, so I can go in and edit pages via this method, but it's a hassle.

I can't imagine it's the CSS or anything... I copied it directly from a working DNN skin. But I'm totally stumped. I'd appreciate any help anyone can provide.

 
New Post
1/6/2015 5:03 PM
 
It is most definitely CSS, or a javascript error, or both

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
1/6/2015 5:11 PM
 
As a quick thought, maybe the DNN js library isn't loading in your skin. You could try adding it using the Client Resource Manager. Here's what the code looks like, though DNN will almost certainly strip it:

<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.Client.ClientResourceManagement" Assembly="DotNetNuke.Web.Client" %>
 
New Post
1/6/2015 5:12 PM
 
Hi again - huh... it allowed the first line, but not the second. The second thing you need is just this, but formatted as web control:

dnn:DnnJsInclude runat="server" FilePath="~/js/dnn.js"
 
New Post
1/28/2015 3:22 AM
 

From what I can see your skin does not have the styling for the user profile included or there is a removal of the default.css

 In your new skin is the stylehelper skin object used to remove default.css ?

the control bar issue has to do with the fact that a lot of skins nowadays ( especially bootstrap ones ) are using the boz-sizing property and the defautl dnn styling does not behave very well in that setup

you can fix that  by adding the below to your css thsi takes care of overriding all the items to look good

 

/* ADMIN */

#ControlBar, #ControlBar:before, #ControlBar:after, #ControlBar *:before, #ControlBar *:after,
#ControlBar li, #ControlBar li:before, #ControlBar li:after,
#ControlBar a, #ControlBar a:before, #ControlBar a:after,
.dnn_mact, .dnn_mact:before, .dnn_mact:after, .dnn_mact *:before, .dnn_mact *:after,
.dnn_mact li, .dnn_mact li:before, .dnn_mact li:after
{
    -webkit-box-sizing: content-box !important; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: content-box !important;    /* Firefox, other Gecko */
    box-sizing: content-box !important;         /* Opera/IE 8+ */
}

.dnnadminmega, .dnnadminmega:before, .dnnadminmega:after, .dnnadminmega *:before, .dnnadminmega *:after,
.dnnadminmega li, .dnnadminmega li:before, .dnnadminmega li:after,
.dnnadminmega a, .dnnadminmega a:before, .dnnadminmega a:after,
.dnn_mact, .dnn_mact:before, .dnn_mact:after, .dnn_mact *:before, .dnn_mact *:after,
.dnn_mact li, .dnn_mact li:before, .dnn_mact li:after
{
    -webkit-box-sizing: content-box !important; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: content-box !important;    /* Firefox, other Gecko */
    box-sizing: content-box !important;         /* Opera/IE 8+ */
}


 

 

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNN Menu issues - skinsDNN Menu issues - skins


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