So the Content menu page (admin/content) on a stable production site loaded, and the only menu item listed was Comments...yet, the admin menu in the left nav listed all the usual suspects. WHAT was this?!

If you convert a Drupal site to a multi-site configuration, you will very likely notice a disturbing side-effect: your images no longer appear!

The Secret to drupal_add_js

drupal_add_js() doesn't add javascript or jquery to your Drupal page? Let's take a look at why, and how to fix it.

I had the need to add an image tag to page output that was generated inside a custom Drupal module. I had retrieved the image's FID (file ID) from the CCK field, and needed to get from there to having an ImageCache version of the image displayed. I'd done it within a view by selecting the appropriate field format in the Views UI, but how to do it in code? Like many other tasks in Drupal, the solution turned out to be easier than the hunt for it.

Drupal 6 Attachment Views

On shelves now, by J. Ayen Green of Ayen Designs. If you are a Drupal developer of any level and you are waiting to explore Attachment Views, then this book is for you.

...Green's book is without a doubt the definitive practical guide to using the Views 2.x module in Drupal 6...

-Trevor James


Subscribe to The Accidental Coder RSS
©2005-2017 Ayen Designs. Underlying theme by Kiwi Themes.