Submitted by ultrabob on Wed, 01/20/2016 - 22:12
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
Submitted by ultrabob on Tue, 01/19/2016 - 16:27
So I've asked questions on a reddit thread, and I've asked some questions on drupal answers. The people who answer are extremely helpful, and if I get some further answers it may change my mind, but at this stage, it seems to me that my best approach for managing access by role to individual files as part of a node with its own independent access controls might be to continue on the track I've been on:
Submitted by ultrabob on Wed, 01/13/2016 - 17:09
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:
Submitted by ultrabob on Fri, 01/08/2016 - 18:10
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.
Submitted by ultrabob on Fri, 11/13/2015 - 13:49
I wrote a shell script to run on my mac, rsync (over ssh with key-based authentication) over a bunch of content, check that the content that came over is a recent copy, and then do various things based on the new data. When I ran the script on my own it executed perfectly, but when I ran it scheduled through launchd it failed. Even more puzzling was that triggering it to run directly via launchd through LaunchControl would cause it to run correctly.
Submitted by ultrabob on Tue, 06/02/2015 - 19:35
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.
Submitted by ultrabob on Wed, 04/22/2015 - 17:43
Today something in my feed was about .svg (Scalable Vector Graphics). Over the years, I've periodically gotten excited about .svg, and started out to investigate how I can use it. Every time I've ended up disappointed, usually by browser support, until now. It seems like browser support for SVGs now is pretty great, and no that we have media queries, the set of things that can be easily done with it has gotten a lot bigger. I'm excited to try out vector graphics that adjust themselves in useful ways as the viewport grows! Thanks CSS Tricks!
Submitted by ultrabob on Mon, 04/13/2015 - 17:25
As I build this site, I'm running through all the menus and settings in core drupal. This article is the first I create for the site.
Pages