BTMash

Blob of contradictions

drupal

Drupal meetup in Santa Monica last night

Wed, 07/27/2011 - 09:21 -- btmash

Thanks to some of my projects being completed ahead of schedule, I was able to go to the Drupal Meetup in Santa Monica (LINK) last night. John Romine had a question for the community on how to alter one of the fields in his view to render the way he would like, Jeremy Stoller went about it by doing things at the theme layer while I (as usual) approached it by doing this at the module layer (depending on what you want to do, either way works).

Entity Caching and Drush - a sweet match.

Tue, 07/12/2011 - 10:30 -- btmash

I am a big fan of the Display Suite module. Its quite flexible and gets you up and running with a look/feel fairly quickly. One of my favourite features of Display Suite is that you can create various build modes so that they can power your views or results or have then get used in a various areas of your site. Find out how I keep things speedy through the use of the Entity Cache module with Drush.

Drupal and "Hacking" core - one possible approach

Thu, 06/30/2011 - 12:49 -- btmash
Tweet on twitter by me: Presented on hacking Drupal Core. No burning car (yet).

Over the years, I've seen and heard the phrase "Don't hack core!" mentioned by countless Drupal developers, designers, site administrators, etc. There are many blog posts on the matter (the most recent being a few weeks ago though his stance is slightly different from what I see from the rest of the community) and the number of kittens that die whenever someone hacks core. There was even a wristband created a few Drupal Conferences back. Heck, I may have had it and worn it at some point. Read on to find out.

Click here if you want to skip directly to the 'how' and slides.

Presenting the Display Suite module at the Los Angeles downtown Drupal Meetup

Thu, 05/19/2011 - 09:00 -- btmash
Display Suite really is pretty darn awesome!

On May 17, I did an inpromptu presentation on the Display Suite module for Drupal 7 written by Kristof De Jaeger (also known as swentel). For those that don't know, Display Suite allows you to take full control over how your content is displayed using a drag and drop interface. Arrange your nodes, views, comments, user data etc. the way you want without having to work your way through dozens of template files. A predefined list of layouts (D7 only) is available for even more drag and drop fun!

5 years of Drupal

Thu, 05/12/2011 - 10:12 -- btmash
I am officially 5 years, 12 hours old at the time of writing this blog post.

As I was digging through old emails, I realized that 5 years ago today, I started my first job out of university as a junior systems programmer / web developer at zinc Roe Design. I was hired to help finish a website that had been built in Drupal (4.6 - not that I knew the difference back then) and had no idea that it would lead me to where I am today.

Apache Solr and Ubuntu: Multiple Instances

Wed, 05/11/2011 - 16:37 -- btmash
Drupal and Solr play very well together, be it with apachesolr or search api.

At CalArts, I have wanted to move the search functionality on our Drupal powered websites into something better for a long time. We have been using the Lucene API (which is lucene search ported to PHP) module on most of them since September of last year but (even though I am a big fan of the module) we truly wanted a way to offload the search services onto another vps (or server; basically, something more flexible).

Migrating Content part 3: Nodes with your own field handlers

Wed, 04/27/2011 - 14:45 -- btmash

(Updated June 4, 2011 - address new handler requirements with Migrate 2.1 by removing stdClass)

In this finale (?) on using the Migrate module, I will go through how to go about writing your very own field handler to pull in content into a field type that does not yet have a mapped path. In this example, we will be migrating an events (so the date field from the date module will require a migration path). At the time of writing, http://drupal.org/node/1021076 had not yet been resolved (or have the ability for date_to and date_from to be established) so we will write out a field handler that handles just this!

Using the JQuery UI Date Picker for event navigation

Fri, 04/15/2011 - 12:03 -- btmash
The jQuery UI Datepicker is a fantastic way to browse through dates.

For a site I am currently creating in Drupal 7, I have a bunch of events and I need to show a view of the content in a non-traditional calendar way (Listing of events for a week, a pager to go back and forth in the week, and a calendar block which lets the user select the date (week) they want to see events occurring on).

Migrating Content Part 2: Nodes

Fri, 03/25/2011 - 10:12 -- btmash

(Updated November 10, 2011 - Updated information about file actions. Thank you Patrick Thurmond!)
(Updated June 4, 2011 - File Handler Compatibility with Migrate 2.1)
(Updated June 8, 2011 - Image to show how to write out your destination field names)
Updated August 29, 2012: I wrote out a blog post on the new image/file handler changes from Migrate 2.4+ a few weeks ago which you can read about here. I've not updated this blog post with those changes so take a bit of what you learn from these blog posts, and add in all the things from the new one for anything file related (or just look at the new one since I link out to the new reference codebase from there as well). and hopefully it helps :)

Its been a while since I wrote about using the migrate module to migrate content from various sources. The last time, I covered migrating users into Drupal and this time, I will write out how to migrate content into drupal as nodes. Because the migrate module is so flexible, it makes doing such things quite easy.

Pages

Subscribe to RSS - drupal