developing

Make drupal accessible via webservice

Did I mention that drupal is great??

Needed to provide webservices to a drupal page. Look at this hillaryous module:

http://drupal.org/project/services

Some helpful sites to help implementing the services:

General overview: http://drupal.org/node/783254
Tutorials and examples: http://drupal.org/node/113697
Nice php-class with example: http://drupal.org/node/1070066
Creating a node: http://drupal.org/node/1354202

Other helpful links:
http://www.barnettech.com/content/drupal-7-create-user-using-rest-and-curl

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

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/

Subversion on ubuntu

Helpfully pointing out how to set up a subversion server:
http://www.subversionary.org/howto/setting-up-a-subversion-server-on-ubu...

I had to chown the repos for the user backuppc, under wich apache was running.

 

Too Cool for Internet Explorer