theming

Drupal 7 and imagecache / image style

Sapperlot, always these changes..... :)

theme('image_style', array('style_name' => 'slider_content', 'path' => 'image path', 'alt' => 'image alt', 'title' => 'image title', 'width' => 'some width', 'height' => 'some height')));

http://www.victheme.com/blog/drupal-7-themeimagecache-replacement

Browser screen shots - online!

How to test your website layout on awkward browsers or on platforms you don't even have access to??

Here's the solution: http://browsershots.org/

IE6 is dead (or has to die)

The worlds most hated Browser Internet Explorer 6, is now being ignored by many webdesigners including me.

Pleas use something like this in order to warn users still using IE6. :)

http://code.google.com/p/ie6-upgrade-warning/

p.s. http://twitpic.com/478jgy :D

Tabs von page in node (.tpl.php) verschieben

How to move the beloved node-tabs (view, edit, etc.) from the page.tpl.php in the node.tpl.php:

http://drupal.org/node/780010#comment-2884126

May be it's helpful to use this in the node.tpl.php:

        <?php if ($tabs): print '<div id="tabs-wrapper">' . $tabs .'</div>'; endif; ?>

Internet Explorer frisst nicht alle CSS-Files???

Die letzten 3 Stunden habe ich damit verbracht herauszufinden, weshalb mein neustes Webprojekt im Internet Explorer so himmeltraurig aussieht.
Ich kam zum Schluss, dass der IE irgendwie nicht alle CSS-Files reinlädt. Herauszufinden welche das sind, entpuppte sich als unmöglich, da er nicht regelmässig auf Tests reagierte.

Doch dann der rettende Hinweis im Netz: Der Internet Explorer kann maximal 31 CSS-Files verarbeiten. OMG OMG!! Nach einem ersten Schrei bin ich froh, die Ursache des Problems gefunden zu haben.

2 column div-layout - leftbar height

I found a nice hack to force the leftbar to inherit the maximum size of the other containers (such as content...)

http://www.yaml.de/de/dokumentation/grundlagen/funktionsweise-von-floats...

CSS round corners....

When oh when is css3 finally going to be released???
It's not only the question I ask myself now, it's the question I ask myself for the past 6 years... that is so annoying!

The feature I miss most in css2 is the ability to apply round-corners to elements. But even the css3-definition "border-radius" is not yet available, there are some ways to do it. Here's my favourite way:

For some browsers, the developers included some "pre-versions" of border-radius:

Gekko-based browsers (Firefox, Netscape 6+)

-moz-border-radius: 10px;

or

Google-Analytics Conversion

Conversion-Tracking einer Registrierung in Drupal.

So auf die Schnelle habe ich das so realisiert:

 

Too Cool for Internet Explorer