Categories
Drupal Development Resources WordPress

Multilevel dropdown menus with Bootstrap 3.x

Bootstrap 3.0 and newer no longer supports multiple tier dropdowns for navigation bars. This snippet of jquery prevents Bootstrap from toggling the “open” classes when you go past the first dropdown. No additional CSS or markup required! /** * NAME: Bootstrap 3 Triple Nested Sub-Menus * This script will active Triple level multi drop-down menus in Bootstrap […]

Categories
Drupal Development Resources

Undoing Drupal Bootstrap theme’s rewriting of buttons

Drupal Bootstrap replaces instances of input type=”submit” into buttons by default. This occasionally breaks other module functionality such as hierarchical select module. Rather than hack the bootstrap module we can declare our own theme_button() call in template.php which would override bootstrap’s bootstrap_button() modification. Enter this in your subtheme’s template.php file and update “YOURTHEME” to your […]

Categories
Drupal Development Resources

Drupal 7 Ubercart 3 Disable cart change quantity field

There may be some instances where you may not want your users to change their quantity on the cart page. An example may be where you want to limit an item to one per order. There are many ways to limit in the product’s node page, but the cart page presents a loophole where the […]

Categories
Downloads

Bootstrap 3 UI Kit

The good folks at BootstrapUIKit.com put together vector Bootstrap 3 UI elements in AI, EPS, and Sketch formats. Download the kit For more info on Bootstrap, check out the docs.

Categories
Shoebox Web 101

5 tools every web developer should know about

Check DNS records with MX Toolbox Contrary to the name, you can actually look up all types of DNS (A, MX, CNAME, etc) records with mxtoolbox.com. Just prefix the domain name with the type of entry you’re looking for. Replace “domain.com” with your own search: a:domain.com mx:domain.com dns:domain.com etc… It’s part of our standard toolkit […]

Categories
Drupal Development Resources

Mapping CSS styles with LESS

Ever have a situation where adding a class or ID to your HTML markup is difficult? This is a common occurrence when working with content management systems or modules/plugins where the code is generated for you. A perfect example is Drupal, where adding classes often requires either writing a custom module to override the output, […]

Categories
Drupal Development Resources

Better Password Reset in Drupal 7

Password resets have always been an issue with Drupal 7. Normally the password reset link goes to a landing page telling you to change you password, then it directs to the user account edit page and doesn’t force the user to change their password. So what happens is they never end up changing their password […]

Categories
Shoebox

A Web Developer’s Toolkit

I’ve been running Gaslamp Media for over 5 years now. During that time, we’ve grown from a 2 person partnership to a firm with 7 full-time employees and growing. We’ve experimented with all sorts of software and hardware to help us run our business. Operations will always be a work in progress. These may not […]

Categories
WordPress

Who moved my app.css? (Roots Theme)

If you’ve been using the Roots theme, you might be in for a surprise if you upgrade to the latest version (6.5.0+). The familiar base CSS files (bootstrap.css and bootstrap-responsive.css) and blank custom file (app.css) have been replaced with a single compressed file, main.min.css. The newest version of Roots is designed for developers with access […]

Categories
Design Downloads

Views Bulk Operations Shift Click Module

Views bulk operation is sorely missing a shift+click function that lets you select a range of checkboxes without having to click every box. We wrote up a small Drupal 7 module that adds this functionality. It implements jquery shiftclick into any VBO page. Instructions: Download the file Upload it to your modules folder (usually /sites/all/modules/) Enable […]