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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsSkinsSkinsSkinning enhancement 1 - Classes to address all instances of a moduleSkinning enhancement 1 - Classes to address all instances of a module
Previous
 
Next
New Post
9/9/2008 4:37 AM
 

Sebastian, you are right there are ways around the problem I know.

But..To add it in the skin.css is not good ---- will bee overwritten when installing a new release of the skin.

.... portal.css one reason DNN-8098 (portal.css optional) and possible impact on other modules.

.... You have no acess to module.css from the file manager, if located under portal you have access.

I would also like to see modulename.css instead of module.css. This would make it possible to have one catalog Modulecss to put the css in.

Jan

 

 

 
New Post
9/9/2008 5:02 AM
 

Jan,

I don't see how a new version of skin.css would overwrite the CSS for a module if you upload te right new skin?

If you use a portal skin, you can add an @import on top of your skin.css and include a custom module.css, so IMO you can already do what you suggest.

BTW, the major problem with module.css is what's in there sometimes, not the fact they exist IMO.

It sucks if you have to overwrite a lot of CSS you don't need (I have seen font-family definitions in module.css...)

BTW, I have a skinobject to solve this and some other css issues.

It lets you UNLOAD any CSS file the framework injects (server side) so module.css or for instance default.css will not be in the page HTML source.

Will release that one later (not as a part of the Core)

 
New Post
9/9/2008 5:05 AM
 

Sebastian Leupold wrote

 

Timo's enhancement would make this easier, since he introduces a naming conveinton for css classes, it would be nice, if module developers stick to it and use appropriate names for elements within their modules.

Sebastian is right if module devs would stick to the naming convention, this would prevent to module.css influence other HTML on the page

 
New Post
9/9/2008 6:00 AM
 

Timo, the overwrite was a response to Sebastian.

If you add parts of the module.css to the skin.css and after that upload a new release of the skin the skin.css will be overwritten.

If you dont see the problem with that I will explain better later but I think you understand the problem.

@import have the same problem you have to change skin.css that will be overwritten with new relese of the skin.

I hope you see the need to have access to the module.css from the file manager.

Jan

 
New Post
9/9/2008 7:16 AM
 

Jan, I don't think we are talking about the same thing here because I really don't understand your problem.

You are in control if and when a new version of a skin is installed (and which one) or are you using the dotnetnuke default skin?

Then the skin would be overwritten after a DNN update..., is that what you mean?

 

 

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsSkinsSkinsSkinning enhancement 1 - Classes to address all instances of a moduleSkinning enhancement 1 - Classes to address all instances of a module


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