improved CSS customization coming in 2.10 alpha 2

 
From: "Shane Clintberg" <shaneclintberg@PROTECTED>
Date: August 23rd 2005
While I appreciate Justin including my recent XHTML compliance and code formatting work in his summary of the improvements made in the *first* Dada Mail 2.10 alpha release, ...honestly, who cares? It's not like the fact I closed a few open tags and made sure things are well-nested is going to make a whit of difference to you or to any other end-users.
 
Until now, that is. :-)
 
Following the general concept and spirit of a very customization-friendly XHTML page that my neighbour Dave* made for a little site he calls the CSS Zen Garden ( http://csszengarden.com/ ), the upcoming release of Dada Mail 2.10 alpha 2 will have a full complement of added CSS "hooks" that group -- and that will allow you to better control -- the content of the program's various default pages in both structurally and semantically meaningful ways.
 
Prior to this, only the most obvious aesthetic changes were possible by tweaking Dada Mail's CSS file alone: adjusting the colors and fonts, for instance, or perhaps more boldly, moving the control panel menu from the left to the right side of the page. For much else, you almost certainly had to start changing -- at minimum -- the default list template or default admin template (and in some cases, other, somewhat more obscure template files as well).
 
But now, the more you know about CSS, the more you can customize the look and feel of your Dada Mail installation simply by changing only one file: your external stylesheet. Want to hide the breadcrumbs? Replace the header title with an accessibility-friendly GIF, JPEG or PNG image replacement? Show your archived messages inline...but *only* until they reach beyond a certain height, after which point they'll switch automatically to an iframe-like scrollbar window? Now you can do all three...without touching a single template.
 
So why am I posting all this to the dev list?
 
Because I may have fibbed on the "full complement" thing.
 
I mean, I *think* I've done a pretty thorough job here, but I could certainly benefit from a few extra pairs of eyes and a few better brains than mine, to suggest areas or types of CSS markup control I hadn't even considered, or to improve on what I've done so far.
 
If you have the time to take a quick browse through the markup summaries I've included below -- or if you could simply keep this stuff in mind during your alpha and beta testing -- I'd welcome any and all thoughts you have about possible "Zen Gardening" of Dada Mail that I may have overlooked. And if you think it's too minor, suggest it anyways! If only 3% of the program's end-users might use it, I'll probably put it in anyway, because the few extra bytes of bandwidth (literally) will be completely insignificant to the other 97%.
 
I'd like to get this template/CSS work as robust as possible as soon as possible, ...because as I've mentioned in past posts, I'm very lazy -- and if I'm going to customize the look and feel of *my* installations of the program, I want those customizations to last through as many version upgrades as they can. :-)
 
So...thanks! I look forward to your thoughts,
 
- Shane
 
* Note: Not my actual neighbour. Except in the Canadian sense.
 
------------------------
 
Dada Mail 2.10 alpha 2: added structural markup for CSS control
 
Stripping down the new markup to just a little *beyond* its bare essentials, here are the basic layout structures of Dada Mail 2.10 alpha 2's main page types. The new CSS "hooks" I've added to these page types are shown with pluses (and in color for HTML-email recipients).
 
The main list pages:
 
  <body>
<div id="PageWrapper">
    <div id="Header">
+    <span id="Logo"></span>
     <span id="Title"></span>
+    <div class="spacer"></div>
    </div>
    <div id="Content">
+    <div id="Breadcrumbs"></div>
     (other page content)
    </div>
+  </div>
  </body>
 
 
The control panel (admin) pages:
 
  <body>
<div id="AdminPageWrapper">
    <div id="Header">
+    <span id="Logo"></span>
     <span id="Title"></span>
+    <div class="spacer"></div>
    </div>
+   <div id="AdminContentWrapper">
     <div id="AdminContent">
      (all admin content)
     </div>
+   </div>
+   <div id="MenuContentWrapper">
     <div id="MenuContent">
      (all menu content)
     </div>
+   </div>
+  </div>
  </body>
 
 
The archive pages:
 
  <body>
<div id="PageWrapper">
    <div id="Header">
+    <span id="Logo"></span>
     <span id="Title"></span>
+    <div class="spacer"></div>
    </div>
    <div id="Content">
+    <div id="Breadcrumbs"></div>
+     <div id="archived_message_wrapper">
+      <div id="archived_message_head"></div>
+      <div id="archived_message_body"></div>
+     </div>
+     <div id="archived_attachments_wrapper"></div>
      (all other archive content)
    </div>
+  </div>
  </body>
 
(Note: If "Show HTML Messages in an iFrame" is selected in the advanced archive options screen, <iframe id="archived_message_body_container"> will be used in place of <div id="archived_message_body"> above.)
 
 

Post:
mailto:dadadev@PROTECTED

Unsubscribe:
http://mojo.skazat.com/cgi-bin/dada/mail.cgi/u/[list]/

List Information:
http://mojo.skazat.com/cgi-bin/dada/mail.cgi/list/[list]

Archive:
http://mojo.skazat.com/cgi-bin/dada/mail.cgi/archive/[list]

  • This mailing list is a public mailing list - anyone may join or leave, at any time.
  • This mailing list is a group discussion list (unmoderated)
  • Start a new thread, email: dadadev@dadamailproject.com

This is the developer discussion mailing list for Dada Mail.

If you are just looking for support Dada Mail, consult the message boards at:

https://forum.dadamailproject.com

Documentation for Dada Mail:

https://dadamailproject.com/d

Specifically, see the Error FAQ:

https://dadamailproject.com/d/FAQ-errors.pod.html

To post to this list, send a message to:

mailto:dadadev@dadamailproject.com

All subscribers of this list may post to the list itself.

Topics that are welcome:

  • Constructive critiques on the program (I like, "x", but, "y" needs some work - here's an idea on how to make this better...)
  • Bug/Error reports
  • Bug fixes
  • Request For Comments on any changes to the program
  • Help customizing Dada Mail for your own needs
  • Patches
  • Language Translations
  • Support Documentation/Doc editing, FAQ's, etc.
  • Discussion of any changes that you would like to be committed to the next version of Dada Mail -

Dada Mail is on Github:

https://github.com/justingit/dada-mail/

If you would like to fork, branch, send over PRs, open up issues, etc.

Privacy Policy:

This Privacy Policy is for this mailing list, and this mailing list only.

Email addresses collection through this mailing list are used explicitly to work within this email discussion list.

We only collect email addresses through our Closed-Loop Opt-In system.

We don't use your email address for any other purpose.

We won't be sharing your email address with any other entity.

Unsubscription can be done at any time. Please contact us at: justin@dadamailproject.com for any help regarding your subscription, including removal from the mailing list.

All mailing list messages sent from us will include a subscription removal link, which will allow you to remove yourself from this mailing list automatically, and permanently.

All consent to use your email address for any other purpose stated at the time of the mailing list subscription will also be revoked upon mailing list removal.