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, ...Module Alignment change in 4.6.0Module Alignment change in 4.6.0
Previous
 
Next
New Post
9/25/2007 7:43 PM
 

Timo Said
If your skinner forced all align to left while you don't want that, force him to change it or hire somebody else.

John Replies

This is the main problem. As you point out, the skin designer does not have the last say, the site owner does.
style="text-align:left" is the closest functional equivalent to align="left"

For the case when you want to override this globally you can use !important directive on your rule.

Here is a simple example:

<table border="1">
<tr><td width="300" style="text-align:left;">Some left aligned text</td</tr>
</table>
<style>
    td { text-align:right !important;}
</style>


DotNetNuke Modules from Snapsis.com
 
New Post
9/26/2007 1:18 AM
 

I tend to agree with Temo on this one.  I personally hate any inline CSS or html align in the actual skin file.  I prefer all my skins to be nothing but pure XHTML. 

How many module use cases are there were the end user is going to want to change the alignment.  The only major one I can see is the Text/HTML module (I am sure there are others).  However, in any module that utilizes the TextEditor, the author can control the alignment from within the TextEditor (Content) rather than artificially altering the skin (Layout) via the module properties.   If alignment were critical for some reason, I would even go so far as make a special Container just for that use case.

If I had my way, I would remove all the skin altering options from the module options.  Alignment, color, border, etc should all be defined in the container.   Yes, I realize it gives the end user more flexibility, but at the cost XHTML compliance so the skinner can save a few steps.  If its important enough to change the module setting, I think its important enough to make a custom reusable container.

While we are at it, I would also remove the Body Background setting from Portal Settings. 

Of course, all of those would be breaking changes for some skins out there, so I think the solution they came up with is the best possible given the circumstances.

 
New Post
9/26/2007 3:52 AM
 

@ Matthias
I think we'll have to investigate default.css, but it's a "dangerous" subject...
For me personally the skin altering options from the module options could be removed too, but since it has been there for ages I don't think we can do that.
People are using them and they should be XHTML compliant now.

@John, you seem to ignore that the major reason to solve it this way is RTL languages.

 
New Post
9/26/2007 8:47 AM
 

Timo,
I showed you that right align can still be assigned globally same as before, I wasn't ignoring anything.

mathisjay,
For developers I agree with you, but these settings are for end users who may not even know the first thing about (x)html.  They just want to set right-align and have it work.  The inline CSS is Xhtml compliant and is a lot less ambiguous.


DotNetNuke Modules from Snapsis.com
 
New Post
9/26/2007 11:33 AM
 

John:
"I showed you that right align can still be assigned globally same as before, I wasn't ignoring anything."

But they would have to change their skin for that (add !important), now everything works the way it did before.

I agree not all users are developers but this is also true for RTL site users / admins...

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Module Alignment change in 4.6.0Module Alignment change in 4.6.0


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