Blog Archive

No Soup for You!

I was working on a new Drupal 6 module, and at least until things became more complex, I was writing it in a top-down manner: the .info file, the .install file, and was working on defining permissions via hook_perm().

It should have been very easy...

The Bleeding Edge

Some would say that I'm crazy using Drupal 7 Alpha 5 to relaunch my blog, but I needed D7 up and running for the new book anyway...

D7 - CCK in Core?

If you're a Drupal developer, you're aware, no doubt, of the coming of D7. One of the exciting changes in D7 is that CCK has been brought into core...somewhat. The changes provide opportunities to do things that were much more difficult to do before, but also, might create a black hole of challenges in the migration space between D6 and D7.

Thunderbird - Sent Folder Blues

I must say that, at times, I think the aggravation of using an IMAP mailbox outweighs the benefits. The latest issue I faced was attempting to send two different messages&emdash;each using a different IMAP account. After telling me the message was sent, Thunderbird popped up a dialog for each message that said, "There was an error copying the message to the Sent folder - Retry?" Several retries later, I was no closer to having a copy of my outgoing messages saved.

It can be very frustrating to do what seems to be everything needed in order to receive USPS shipping quotes in Ubercart, only to receive There were problems getting a shipping quote. Please verify the delivery and product information and try again. after clicking the button to receive one. Here is a list of the things to verify before throwing anything in frustration!

I was working on a module that uses a query with a few joins to select an appropriate node and then obtain the name of a file attached to it. The file name is then built into a link. Occasionally, clicking on such a link would result in a 404 error. I detest intermittent errors as much as any developer or support tech. It seemed that the common factor with this one was that the files in question had suffixed names, _0, _1 and so on. And therein lies the answer!

Drupal 7 - A Baker's Dozen!

Boiling down the zillion hours of D7 development into a short list of important changes isn't practical, so consider this a starting point rather than a comprehensive list.

In a Drupal view, one of the presentation options for a selected field is to have the field be a link to its node. What if you need the label to also be a link? No problem! Another option is to rewrite the output, so you can manually create the links using HTML, and specify the replacement pattern of [nid] for one. The only problem is that when a field is a link to its node, the URL that appears is the path alias, mydomain.com/my-content, but when using [nid] in a manually constructed link, the resulting URL is mydomain.com/node/##.

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!

Pages

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