Sorting of products in Drupal Commerce Add To Cart form Sorting of products in Drupal Commerce Add To Cart form

Posted by mradcliffe on 2014.06.11 @ 14:49

Filed under:

This is a quick post regarding the sort order of option elements in the Drupal Commerce Add to Cart form as part of Product Reference fields.

I was confused as to how this was sorting. It does not sort by the Product title. It does not sort by the Product entity identifier. On my development site, the options seemed to be sorting by SKU.

There were a couple options to look into: [more...]

Getting HTML5 video to work with iOS Mobile Safari Getting HTML5 video to work with iOS Mobile Safari

Posted by mradcliffe on 2013.05.17 @ 10:50

Filed under:

I’ve been researching issues regarding serving HTML5 video content to iOS devices this past week. Here’s an outline the issues and some concise answers as to how iOS Mobile Safari 6 will handle HTML5 video. This post won’t touch on video encoding.

Mobile Safari’s QuickTime component does not handle HTTP requests the same as it does normally, say for a web page. Instead [more...]

Rules-provided entity variables: Where are my field properties? Rules-provided entity variables: Where are my field properties?

Posted by mradcliffe on 2013.02.19 @ 16:08

Filed under:

At times I am confused by behavior in the powerful Rules module. Sometimes Rules data selectors for entities have their fields listed and sometimes they do not. I did not find documentation about this behavior.

So I dug through code… [more...]

ctools Modals and Vertical Tabs ctools Modals and Vertical Tabs

Posted by mradcliffe on 2011.12.21 @ 23:49

Filed under:

The Chaos tool suite (ctools) is collection of useful methods intended to help Drupal developers create complex interfaces without duplicating too much effort.

Drupal 7 introduced a new Form API element: Vertical Tabs. When you set a parent element as this Form API type, then any child elements that are of type fieldset are displayed as vertical tabs instead of as in the traditional fieldset. Unfortunately for us developers, the documentation does not provide an example of how to use Vertical Tabs properly, but with some trial and error you can do it.

However, this new Vertical Tab Form API element doesn’t work in modal multistep wizard forms created with ctools. [more...]

Git-ing Drupal contrib patches done Git-ing Drupal contrib patches done

Posted by mradcliffe on 2011.06.18 @ 16:06

Filed under:

In not-so-recent news, Drupal migrated the drupal.org project repository from CVS to Git in late February, 2011. My experience with Git previous to this has been as a user fetching source code of x.org, mesa, dri, and other various Linux and Unix projects.

As a user, not a developer, I found the Git work flow confusing. I did not need to make local commits and it was hard to wrap my head around bringing in changes from multiple remote repositories.

As a PHP developer, I first grasped the work flow at Columbus GiveCamp 2010 when I needed to make a github account for the branch of the Audio module we hacked on. As well, some Ruby guy had a nice Git work flow diagram, which I promptly forgot all about until the not-so-recent event above. [more...]

When did Firebug get so terrible? When did Firebug get so terrible?

Posted by mradcliffe on 2011.04.13 @ 11:33

Filed under:

Firebug is one of those vital extensions for web developers and designers who use Firefox. I have been faithfully updating it whenever it whines at me to update it, which is usually every minor version, and it pretty much just works. Firebug and I have a romance of debugging HTML, CSS, and more recently the Javascript and JQuery that I use in Select Other, Processing, and some more recent custom development for Slight High.

The honeymoon ended recently… [more...]

A Tale of Two Chairs A Tale of Two Chairs

Posted by mradcliffe on 2010.02.13 @ 11:11

Filed under:

It was the best of products and it was the worst of products. It was a tale of one man trying to find an affordable chair.

Several years back I shopped at WalMart and bought a card table with four folding chairs for around $50. I was really disappointed because I didn’t think a card table would be worth more than $30 or so. This story however is not about the card table, but about chairs. [more...]

The Black Apple Strikes! The Black Apple Strikes!

Posted by mradcliffe on 2008.07.16 @ 08:10

Filed under:

Matt Radcliffe and his BlackbookIt took a few minutes for cwright and smokris to realize what was different yesterday. Yes, the days had finally come. I had begun to shave my proverbial neckbeard. More than year after and much like similar happenings, 7/15/08 is a day that shall live in infamy.

I have an Apple product once again. 黒林檎(くろりんご、kuroringo)is born! [more...]

Is Smaller Better? Is Smaller Better?

Posted by mradcliffe on 2008.02.03 @ 23:39

Filed under:

Epia EX small

In the past couple of months I thought about spending some money on either a Nintendo Wii or a multi-purpose media box (not to mention my anxiety over buying an unmodifiable blackbook). Over the past 3 years I’ve looked at smaller cases as “better”. Before that it was always the full tower case that provided more room and ease-of-use. In this vein I’ve been looking at the world of mini-itx for the past several months.

VIA created the mini-itx specification for itself, but since its creation other companies started creating motherboards with this spec and recently so has Intel. The spec allows for a low-power consumption CPU, which is great for point-of-sales machines, thin clients, and more. The other use of mini-itx, popular amongst personal users, is as a Home Theater PC (HTPC) or media center. [more...]

fAIL: The Self-Replicating Network Connection fAIL: The Self-Replicating Network Connection

Posted by mradcliffe on 2007.12.11 @ 09:55

Filed under:

Good morning gentle readers. I opened up my craptop this morning to witness the struggles of what seemed to be a laptop battling cancer. No, this was not another case of opteron cancer. Instead I found that Windows, unable to cope with my Cisco Aironet 350 wireless card, was creating network connections one after another in the system tray. [more...]