Lullabot Ideas

We know stuff. We empower you to know stuff too.

Drupal Voices 25: John Albin on Theming Improvements for Drupal 7

Listen online: 

John Albin Wilkins of Palantir.net talks about some of the Design & Theming community initiatives for Drupal 7 as well as some of the improvements that have already happened.

John has been at the center of trying to get more designers involved in making Drupal beautiful, and helped initiate the Birds of a Feather design track at Drupalcon, which he talks about more here.

Palantir has been involved with some innovative designs -- like the Herron School of Art & Design, which was nominated for a Webby -- and hopefully we can have some more out-of-the-box beautiful themes for Drupal 7.

For more information:
Drupalcon presentation: How to kill Blue Marine: new core themes for Drupal 7
Design for Drupal

Download

May 4, 2009 - 1:54pm
Drupal Voices
5:40 minutes (3.17 MB)
stereo 44kHz 76Kbps (vbr)

Comments

IE 6 trnsparency?

Is there a plan to fix IE 6 transparency in core? Some core method where themes work out of the box instead of using an extra module such as pngfix or pngbehave?

I would be good to see a

I would be good to see a solution in core because now you're got to load the script from page.tpl.php, wrapped in a conditional comment, but the drupal way to do it would be to use drupal_add_js or load it from the theme's info file.
However, the jQuery pngfix script is known to cause crazy layout collapses, I've had it happen too. I'm sticking with the twinhelix pngfix for now but its not jQuery.

Haven't tried the pngbehave module btw, looks good.

The problem with IE6 png fixes

The problem with any of the multiple methods of IE6 png fixes is the gawd-awful way in which they are forced to work. They swap the image with a activeX thingie that places the image as a top-left-aligned background image.

This can break images-as-links and won't work if you need anything other than top-left-aligned images. Which means CSS image sprites are impossible.

Basically, you can't apply a IE6 png fix globally to pngs because its almost guaranteed to break things. Which means you have to 1.) have a detailed understanding of how the fixes work and 2.) apply them on a case-by-case image-by-image basis.

Which means if D7 core had a png fix, the issue queues would fill up with people not knowing 1.) and ignoring 2.) and trying to apply it to all pngs on the site. So, those types of fixes will have to remain in contrib.

One IE6-related fix which is at least debatable on whether it should be in core is the Conditional Stylesheets module. I’m indifferent to the idea. Contrib is fine with me.

Non-AlphaImageLoader png fixer

In IRC, gimpscape pointed out http://www.dillerdesign.com/experiment/DD_belatedPNG/. I haven't tried it yet, but it doesn't use the normal AlphaImageLoader method to fix PNGs. So it says its possible to do non-topleft positioning.

Should be worth a look!