Drupal 7

Ajax form notes

The #ajax['wrapper'] property includes the HTML ID of a page section that should be replaced (or altered in some other way).

The #ajax['callback'] tells the Form system what callback should be called after the Ajax call happens and the form is rebuilt.

Field Collection: multi-entry, add another item takes forever SOLVED

Now that I've managed to track down the patch for this issue I realize that I probably wasted a lot of time trying to find alternatives to field collections, and even making a start on my own compound field type.

PDFPreview User error: ImageMagick error 1: convert: no images defined

On my local development environment (a macbook pro running El Capitan), whenever I installed PDFPreview and tried to view a page that utilized it, I would get an error like:

User error: ImageMagick error 1: convert: no images defined `/path/to/pdfpreview/folder/filetowrite.jpg' @ error/convert.c/ConvertImageCommand/3241

Backing off on using file entities to solve my file permissions issue

After a couple of days of struggling to populate the fields provided by file entity as part of my migrate module migration, I have thrown in the towel. I opened an issue with a feature request for migration support with the new version of the file entity module, but in the unlikely event that my request gets any traction I will probably have moved way past the point that I can still use it.

Here is a quick review of the things I tried:

Struggling with Files and PDF Thumbnails in Drupal 7

I'm working on building a document library in Drupal 7. The project has presented a lot more challenges than I initially anticipated, and one of them is the presentation of files. Each entry can either be an internal only entry, or be visible to the world. Each entry can also contain multiple files, and each of those can either be internal only or visible to the world. I am migrating from another system with a lot of content in place. In the current system, each entry has an optional cover image, files are just listed by filename. That's where the trouble begins.

Maps and dates in drupal and a chapter on clutter

Today I reviewed some drupal modules for a) mapping and other means of collecting and displaying geospatial data and b) inputting and displaying date and time information. I will probably do some experiments with both on this site soon, but you may not see those experiments.

I've been trying to read a chapter of On Writing Well by the recently departed William Zinsser everyday. I had meant to read the book for a long time, and his death finally gave me the push I needed. So far, I'm getting a lot out of it, and it is a pleasure to read.

Subscribe to RSS - Drupal 7