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 5 wrong css file included in edit mode?DNN 5 wrong css file included in edit mode?
Previous
 
Next
New Post
2/16/2009 3:25 PM
 

Hi All,  I set up a new 5.0 install, with all the defaults. My Host & Admin settings for Host/Edit skins and Portal/Edit skins are all MinimalExtropy -index and Minimal Extropy - title_grey.

Then I added my own skin and created one page, where I set the Page Skin to my new skin. If I switch to "Settings" (ctl=edit), the following css files make up the page:

/Portals/_default/default.css
/Portals/_default/Skins/MinimalExtropy/skin.css
/Portals/_default/Skins/mikevdm/main.css   <<< That's my skin
/Portals/_default/Containers/MinimalExtropy/container.css
/Portals/_default/Containers/MinimalExtropy/Title_Grey.css
/Portals/0/portal.css
/Portals/_default/Skins/MinimalExtropy/css/ie6skin.css

Maybe I misunderstood how this is supposed to work, but in 4.9.x which I use for other sites, I didn't run into this behavior. When in edit mode, my overrides to a page's page/container skin don't carry into edit mode. The same .css files were included except for my main.css.

Now with 5.0, it looks like they also affect edit mode. (I am NOT talking about the Admin/Host pages, just my own pages with overrides).

Can anyone set me straight why it should (or should not) work this way? I am having a heck of a time sorting all this out with css selectors and would rather not have my css file included for edit mode.

 
New Post
2/16/2009 6:01 PM
 

I don't see the problem in DNN 5 myself.

The CSS files should be like this:

/Portals/_default/default.css
/Portals/_default/Skins/mikevdm/skin.css
/Portals/_default/Skins/mikevdm/main.css  
/Portals/_default/Containers/MinimalExtropy/container.css
/Portals/_default/Containers/MinimalExtropy/Title_Grey.css
/Portals/0/portal.css
/Portals/_default/Skins/MinimalExtropy/css/ie6skin.css

Did you create an HTML skin or a ascx skin?

 
New Post
2/16/2009 7:40 PM
 

It's an ascx skin. The css files do look like that when viewing the page. I'm only noticing the "extra" main.css when I edit the page's Settings, which messes up the Page Settings page.

So, are you saying that it is correct to see the main.css file included when editing the page settings?

 

 
New Post
2/17/2009 3:13 AM
 

If your skin is main.ascx, the main.css file (if it exists) should always show up, in view and in edit mode...

 
New Post
2/17/2009 6:56 AM
 

Thanks for taking a look at this. I would like to understand this. Maybe my confusion stems from the fact the 4.9.x did not exhibit this behavior.

One thing that I find troubling is that (only in edit mode) I end up with a skin css for /Portals/_default/Skins/MinimalExtropy/skin.css
AND one for /Portals/_default/Skins/mikevdm/main.css. Two skins for one page? I understand multiple container css files for one page, but two skin css files?

I will set up some test cases with fresh installs for both 4.9.1 and 5.0.0. If I can document the difference, I'll submit it as a bug. If they don't behave the same (which is what I see so far) that would be a breaking change probably breaking a fair number of skins. I hope I'm wrong, but so far I'm having a hard time sorting this out.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNN 5 wrong css file included in edit mode?DNN 5 wrong css file included in edit mode?


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