d7

geany learns drupal .. yay!

Geany now is able to recognize drupal core functions.
It helps a lot if the function helper shows up while typing.

How to:
http://www.mcdruid.co.uk/content/using-geany-as-an-editor-for-drupal-dev...

Create a drupal-node by module

I recently had to implement functionality for a module to automatically import nodes from a XML-file of a foreign system. With this pages as references it turned out to be surprisingly easy:

http://drupal.org/node/1388922
http://drupal.org/node/201594

Drupal 7 - Theme node (full, teaser)

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

Drupal Globals

Finde it well documented here:

http://api.drupal.org/api/drupal/globals

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

 

Too Cool for Internet Explorer