You can use node relativity to attach nodes to other nodes. In this case, I am using it to attach reviews to product nodes, where the reviews are nodes in their own right. I want to be able to view the reviews (children) within the product node (parent).

If you have a live site and a stage (or dev) site, you will probably want to add any new files (such as images) from the files directory on the live site to the staging site, or vice versa.

It is often useful to add a "edit this node" or "edit this block" if a site editor is viewing content on a page that is not the node page itself. This includings viewing content from a "view" page where the normal edit tabs are not present for nodes or blocks.

Drupal for Publishers notes

This week I attended the Drupal for Publishers event that was held at the Sun Microsystems office in central London. As the name suggests, the event was aimed squarely at publishers. I work for the UK's biggest magazine publisher, so I thought I should attend! I was not disappointed.

It looks like Google might have done it again with another killer app. Google Wave will be coming out later this year. You can view a preview presentation on the Google Wave website. It is a very long video, but I did manage to watch most of it. It looks like it might just be there best and most innovative product to date (barring Google Search). It might just revolutionise the way we do email.

This snippet will get the filename from the url. The filename is the last part of the URL from the last trailing slash. For example, if the URL is http://www.example.com/dir/file.html then
file.html is the file name.

2Bits has a great piece of advise when it comes to extending Drupal. A very common trap is just keep on adding more and more modules to achieve the required functionality. That is what makes Drupal great but at the same time, too many modules can have a seriously negative effect on a sites performance.

See video

Creating an effective deployment process has historically been a nightmare with Drupal. A deployment process should include pushing content and configuration settings (and code) from dev server to stage server to live server. In many cases, pushing content from live server back to stage server will also be required (to test on the stage server with real life content).

See Demonstration of Drupal deploy module Video
See video

This is a brilliant Friday funny! I am a Sir Alan fan and, even though this is taking the mickey out him, it is absolutely hilarious.

See Cassetteboy vs The Bloody Apprentice Video

Chrome Experiments is a website which show cases Javascript experiences from a range of different developers. Many are cutting edge, some are just plain cool and a bundle of fun. They certainly show what can be achieved with the wonders of Javascript. Chrome Experiments is a Google website and anyone can submit an experiment.