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 7:13 PM
 

Ok Jan, so  I guess we just don't agree..

Module.css management would be very difficult since you would have a local copy in every portal, so what to do if you upgrade the module?

The solution like the one for portal.css would mean a clone of module.css (portal.css is an empty clone of default.css)

This would add even more CSS files.

IMO your suggested solution is quite complicated for something I don't see as a real problem since we have portal.css for it.

 

 

 

 

 
New Post
9/9/2008 8:02 PM
 

OK, I dont know who we are but I asume those we dont have customers who have installed modules with bad module.css. Not ever added css in portal.css to try to get the module look nice and found it changed other areas too. If so I understand that you dont see the problem.

And modules that comes with a new release and changed module.css. If its just me who have seen this and would like a better solutuon I will survive.

Personally I have tools to get around the problem for my customers. The module upgrade problem you see I can solve rather easy but if there is no need for you so keep it as it is. The module upgrade problem exist today too by the way dont update portal.css..

Maybee my method sugestion would add more physical css files but it will load less files.

I just tryed to get your eyes on the problem but you cant see it so I stop here

 
New Post
9/10/2008 4:41 AM
 

Hi Jan,

I see your problem, I have experienced it myself many times, E.g. lately with a nice and simple forms module that always uses .NormalBold for the label and no way to hookup to this class without affecting the other .NormalBold instances on the page.

First, Timo's enhancement would help me (so I am in favor), now I can hook up to:

.SimpleformsModule .NormalBold { color : red ;}  

I can place the styling anywhere I want e.g. portal.css, skin.css, in the header of the page (< style type=" text / css " >.SimpleformsModule .NormalBold {color: red}< / style >), in the headertext of the module, etc.

Would your solution, having a separate "modulename.css" file help me?

In the above example I would not use it, because It is much easier to do it quick and dirty (in the module). A drawback that I see, is that this solution introduces yet another complicating factor, that is, yet another file in the already crowded portal file structure, which your clients should keep their hands off. I must always explain my clients not to poke around in the templates, skin, container, cache, etc. directories.

Given the fact that there already are a number of ways to takle this issue I would not recommend a separate "modulename.css" file in the portal directory.

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
10/29/2008 4:55 PM
 

Charles Nurse checked this in today:

http://support.dotnetnuke.com/issue/ViewIssue.aspx?ID=8678&PROJID=2

So it seems like this will be part of DNN 5.0

 
New Post
12/16/2008 6:21 PM
 

As you can see in the mentioned Gemini item, this has been changed slightly.

The name of the class of the surrounding div will not be ModuleName, but ModuleNameContent. The reason for this is that some Admin modules are already using their name as a class and thus it would be added twice.

For instance, the Filemanager already used the class "FileManager" which conflicted with the new added class (they were the same)

 

 
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