There are two great ways I’ve found to quickly access an entity’s field values in a Drupal-friendly way. Both of these approaches assume that you already have your entity loaded into a variable available to you. This week, I’ll be focusing on Entity metadata wrappers. Entity metadata wrappers Entity metadata wrappers are another great way… Continue reading Accessing Field Values in Drupal 7
Search Krumo–Seconds (if not Minutes) Off your Day
In this post I’m assuming you’ve used the Drupal Devel module and Krumo to inspect or debug your arrays using dpm() in a more user-friendly manner than printr() or vardump(). If you have not used Devel and regularly debug Drupal arrays, stop everything you’re doing and check it out. The Search Krumo module adds a search field… Continue reading Search Krumo–Seconds (if not Minutes) Off your Day
Drupal Migrate: Importing Images
I recently spent quite a bit of time with our friend the Migrate module. Along the way I picked up a few nuggets of knowledge that may save somebody out there a few hours of time trying to piece together. Problem: This problem arose from a Access to Drupal migration where zero or many images… Continue reading Drupal Migrate: Importing Images
Google Drive now offers a simple way to save files
Yesterday Google introduced an easier way to save files to Google Drive. For users, it’s as easy as clicking a ‘Save’ button identified by a Google Drive logo and for site owners, it’s as easy adding a bit of HTML and a short script. <script src=”https://apis.google.com/js/plusone.js”></script> <div class=”g-savetodrive” data-filename=”My Statement.pdf” data-sitename=”My Company Name” data-src=”/path/to/myfile.pdf”> </div>… Continue reading Google Drive now offers a simple way to save files
Using the PHP-Drupal Textmate Bundle to Automatically Apply Coding Standards
When contributing to an open source project as large as Drupal, it’s important to comply with the community’s coding standards for a variety of reasons: It helps maintain consistency in the code base. It reduces the time for submitted patches to get tested and accepted. It makes the code easier to debug and maintain. It… Continue reading Using the PHP-Drupal Textmate Bundle to Automatically Apply Coding Standards
Accessing Field Values in Drupal 7 Using field_get_items()
There are two great ways I’ve found to quickly access an entity’s field values in a Drupal-friendly way. Both of these approaches assume that you know the type of entity you’re working with and that you already have your entity loaded into a variable available to you. This week I’ll be focusing on the handy… Continue reading Accessing Field Values in Drupal 7 Using field_get_items()
Improve Your SEO for Events by Adding Rich Snippets
When google indexes a website, it does its best job to try and interpret and categorize the type of data it finds so that it can serve accurate and relevant results to everyone using its search engine. However, you can greatly enhance google’s accuracy by providing it additional data about your data (i.e. metadata, which… Continue reading Improve Your SEO for Events by Adding Rich Snippets
Improve Your SEO By Linking Your Content to Your Google+ Profile
Anyone trying to establish a online presence is always trying to improve their search engine rankings against the dozens, hundreds, or thousands of other websites competing for attention in that same niche. While there are many different ways of doing this (see our previous articles on SEO), one of the easiest ways to improve the quality of… Continue reading Improve Your SEO By Linking Your Content to Your Google+ Profile
Improving Drupal Development, Deliverables, and Dependability with Selenium Testing
I detest monkey work and I’ll do anything I can to avoid it. I attribute this intense, emotional reaction to a job I had at age 16, where I worked at a plastic factory inspecting box after box of clear vials to look for the defects (e.g. air bubbles, carbon black, mechanical indentations, etc). Overall… Continue reading Improving Drupal Development, Deliverables, and Dependability with Selenium Testing
Holland & Hart launches new Drupal site for Persuasion Strategies
Persuasion Strategies – In 1990 they became the first litigation consulting team serving in-house within a law firm to support trial attorneys and their clients. Their success quickly grew and they expanded our practice to attorneys and organizations outside of Holland & Hart LLP. Now their team services attorneys within the largest, most prestigious law… Continue reading Holland & Hart launches new Drupal site for Persuasion Strategies