chacadwa.com

Technical blog and writings by Micah Webner.

Drupal

Blogrimage 2013 Day 3: Quick Cache Cleaner 7.x-1.0 release

3/6/2013 in Drupal by micah

Today was a busy day, so I flailed around a bit trying to find a patch to write for my blogrimage. I ended up working on one of my own Drupal modules, Quick Cache Cleaner, and finally rolling a 7.x-1.0 release.

(more)

Blogrimage 2013 Day 2: A Small Orange

3/5/2013 in Drupal by micah

Pradeepan and I selected A Small Orange to host the Blogrimage website. Pradeepan created an account last night, and the test site that I made is now running on the new hosting. The domain name has still not transferred, so you'll have to settle for screen shots until we can access the site directly, but the project is moving forward.

(more)

Blogrimage 2013 Day 2: LDAP Server requires CTools

3/5/2013 in Drupal by micah

My day 1 patch was a quick fix to the LDAP module based on old notes from previous testing. For day 2, I really had to get back in and test the 2.x branch of the LDAP module. (I don't really plan to spend all 30 days of the blogrimage on this module, but it seems a good place to start.)

(more)

Blogrimage 2013 Day 1: Blogrimage site planning and preparation

3/4/2013 in Drupal by micah

Day 1 of creating the Blogrimage website included sending Pradeepan a summarized project plan and starting the site build on my private development server. Pradeepan's vision for the site is to import feeds and other content from participating bloggers (blogrims?) to create a centralized showcase for the content being created during the Blogrimage.

We didn't plan ahead. We started communicating about this the night before the Blogrimage started, so now this will be as much a part of the Blogrimage as any other challenge.

Here's the overall plan:

(more)

Blogrimage 2013 Day 1: Typos in LDAP module

3/4/2013 in Drupal by micah

Contributing patches to Drupal does not need to be a complicated process. For today's patches in my #1day1patch and #blogrimage challenge, I touched on a couple of simple typos.

(more)

Blogrimage 2013 Kick-off

3/4/2013 in Drupal by micah

There's nothing like waiting until the last minute to get started on something, but when I woke up this morning, I finally picked a challenge for my 30-day blogrimage.

The annual blogrimage was started by Pradeepan Jeeva and his friends in 2010. In its first three years, over 60 people participated by simply selecting a 30-day personal challenge and blogging about it each day. This year, over 100 people will participate.

(more)

Adding fake Drupal 7 node fields with custom theme functions

1/12/2013 in Drupal by micah

This example takes the node creation date and renders it as a fake field. It also creates a theme_mysite_pseudo_field() function that could be used as a template for any renderable array.

(more)

Drupal 7 Render Array Snippets

12/20/2012 in Drupal by micah

Drupal 7 contains some incredibly powerful functionality in things like Render Arrays, Entity and Field APIs, etc. However, the actual details of these things are next to impossible to find. Especially difficult are specific examples and lists of available options. The more time I spend developing in Drupal 7, the more time I spend digging through code that I've already written trying to find a snippet that took me hours to find or figure out the first time I used it. I'm starting a short series of posts to document these items so I can find them more quickly.

(more)

Override Drupal 7 taxonomy display by vocabulary

12/8/2012 in Drupal by micah

I've had a couple of cases recently where I've wanted to use views to override the output of taxonomy/term/%taxonomy_term on a site, but this can be tricky if you want to use different views for one or more specific vocabularies. Normally, you'd just enable the delivered Taxonomy Term view and modify it as needed for the site, and presumably that's how Drupal 8 will work by default with Views in Core. I've looked briefly at the Taxonomy Views Integrator module, but quite frankly, this task falls under customization for a specific site, so why not just customize for the site?

(more)

Clear image size attributes in Drupal 7

12/8/2012 in Drupal by micah

The default behavior when rendering images in Drupal 7 is to include the height and width tags on images. This causes problems for responsive design, where we want to set these attributes in css, if at all. There's a historic reason why Drupal 7 includes these tags by default. It was removed at one point, and put back in, although I can't find the actual issue numbers right now.

(more)

Pages

Subscribe to Drupal