If you use Laravel Valet for local web development with Drupal, you may find that Valet won’t recognize Drupal inside of an “htdocs” folder. This edit will add support for this situation. Go to the .config/valet/Drivers folder in your user directoryex: /Users/dennis/.config/valet/Drivers Create a new fileCustomDrupalValetDriver.php Add the following scripts and save. <?phpclass CustomDrupalValetDriver extends ValetDriver […]
Category: Drupal Development Resources
Pantheon constantly changes the writable tmp folder location based on server load. This becomes a problem in the case of Views Data Exports with Batch mode set since the tmp files get lost along the way. There’s a discussion related to this here: https://www.drupal.org/project/views_data_export/issues/2352763 The solution is to override the vbo write directory from comment #3. […]
Here are a list of useful modules for testing and sending mail. Reroute Email This allows you to reroute all emails to a specified email address. I use this for all dev sites so that we don’t accidentally email live users. https://www.drupal.org/project/reroute_email Mail System This allows you to configure mail sending and formatting methods. Required […]
Geocoder caches geocoding results from an address. Sometimes that means it will cache an empty result that can occur from an error (ex API). Even after you fix the error, the address will not geocode correctly until you clear the cache using the following function.
Backing up to the DigitalOcean is easier than ever with their S3 clone called “Spaces”. Spaces are essentially S3 buckets. Since it’s an S3 compatible service, you can use the existing Amazon S3 libraries. Unlike Amazon, Spaces is available for a flat fee of $5/mo for up to 250GB. Additional data is only $.02 per […]
Bootstrap continues to be our favorite starter theme for Drupal 7. This is an update to our original guide on how to set up a Bootstrap subtheme with LESS. Many of the steps are the same but they’re repeated here for convenience. Bootstrap 7.x-3.4 introduces some new features and a restructuring of its subtheme starterkit folder. […]
Views Bulk Operation 7.x-3.3 breaks ubercart set order status operation. As a temporary fix we’ve created a module that will be able to change the order status. Download and enable the module, then enable the new operation Update Ubercart Order Status in VBO field settings. Download Module <?php //hook_action_info function vbo_ubercart_action_info() { return array( ‘vbo_ubercart_order_update_action’ […]
We recently relaunched ItaloAmericano.org with a new theme based on Bootstrap. One of our goals was to minimize the need for additional modules and javascript packages, since Bootstrap comes with just about everything we need. A feature used throughout the site is a responsive carousel of featured articles for each of the main categories. The […]
We specialize primarily in WordPress and Drupal sites. Often we find ourselves converting sites from one platform to another. For example, Drupal excels with handling user accounts and granular permissions, whereas WordPress offers a much simpler admin interface and writing experience. The following is a table of common site features and their Drupal and WordPress […]
Pathologic is a handy little module that performs one simple, but very important, function – fix broken links due to a change in URL structure. If you’ve ever moved your Drupal site from one environment to another, like going from your development server to production, or moved a site from a domain name to a folder, you’re […]