theming

Drupal 7 - Theme node (full, teaser)

print drupal_render(node_view(node_load(43), 'teaser'));

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...

 

Too Cool for Internet Explorer