chacadwa.com

Technical blog and writings by Micah Webner.

Drupal

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)

State of Drupal 2011 survey

8/8/2011 in Drupal by micah

I just finished taking the State of Drupal 2011 survey, and if you use Drupal in any way, you should, too. I thought I'd share some of my responses here, where I can also expand on them without getting too long-winded for a survey.

Drupal core provides stability. Drupal contrib provides agility. Core development should focus on building a well-written, reliable, secure platform with critical APIs that everyone can use. Contrib can extend core in many directions. Distributions, install profiles, and - more importantly - good cookbooks and tutorials can alleviate potential confusion about what contrib modules can work together to build great sites.

(more)

Drupal 7 on Microsoft Windows Server

1/6/2011 in Drupal by micah
MSSQL Server Management Studio with Drupal Tables

It may seem odd that I spent Drupal 7 release day installing Drupal on a Microsoft server platform, but that's what I did. Honestly, the timing was coincidental. One of my current projects has been to stage up a new Windows 2008 Server to replace an aged Windows 2000 web server, and yesterday just happened to be the day that all of the pieces fell together.

The existing server runs Classic ASP code that talks to both SQL Server and Oracle, sometimes on the same page, and can export data to MySQL via DTS packages through an ODBC connection. There are also a few existing PHP pages in the mix, so the original server is complete soup. The long term goal is to migrate the site to Drupal, but some of the ASP back-end code is so specialized that the only way it will get migrated is to write it as custom PHP code usng Drupal APIs.

(more)

Pages

Subscribe to Drupal