Blog Archive

Mediapool module released

I released version 6.x-1.0 of Mediapool, a module that allows a node without a dedicated image to have one randomly selected from a pool of applicable images.

I was recently working on a custom Drupal 6.x module that needs to create a custom content type with fields upon installation. I did quite a bit of hunting for how best to do this. There are a few different approaches, including using the Features module, or having my module do all the node and db handling, etc. I decided to use the export and import features of CCK, and it's very easy to do. Here is a link to the handbook page at DO that explains how to do it.

When the request came for me to review Drupal 6: Panels Cookbook by Bhavin (Vin) Patel, I was excited. I've been a software developer forever, a Web developer for as long as there's been a Web, and a Drupal developer since D6 was imminent. I have two Drupal books myself, and am working one about D7 Views, but with all that, one glaring hole in my self-education has been Panels; it would be my first chance to use it.

Are you stymied by mydomain.com and www. mydomain.com ending up in different places, even though they should not?

I received a 'love letter' from my hosting provider: you have too many tables in your databases and are negatively impacting performance. You have 14 days to correct this or we will take your firstborn...or something to that effect.

Using the Correct Ruler

Sometimes, the guys controlling the synapses are asleep at the switch, and things I've always known are momentarily gone. It's one thing when I know that to be the case — knowing what I don't know — such as seeing an actress on the screen and being asked who it is. I knew until I was asked. It's not knowing that I don't know that's the bigger problem...not realizing that I've forgotten, because the switchman hasn't fallen asleep, he's thrown the wrong switch.

Tags: 

Drupal 7 Beta 1 Released

I was starting to lose hope when Alpha 5 came out, and was despondent by the time Alpha 7 did. I'm plugging along with the book, half way through the first draft, but at least 25% will need to be revisited to complete examples that hit brick walls because of things just not working as they should, yet, such as custom fields not appearing in the Views sort criteria field list.

Dumping a Single MySQL Table

I recently needed to test out some new code on my local version of a client's site. I ran into a problem, because keys and information that I needed for the testing were in the live version of the database, but not in my version. I needed to import new data, but this was a huge database, so I only wanted the one table rather than the entire database.

On Being a Blockhead

I created a Drupal 6 module, and in it I implemented hook_block(). I set up the block to appear in a certain region, and hook_block acted like a blockhead...

Almost made the Plunge

Last night I almost took the plunge into Linux...almost.

Pages

©2005-2017 Ayen Designs. Underlying theme by Kiwi Themes.