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 […]
Author: Thai Yin
Gaslamp Media cofounder Thai Yin has been in the website and internet marketing industry since 2003, starting out as designer for a leading internet marketing and lead generation company before becoming a freelancer. Thai started his own design firm in 2006 (Yin Media Corp) with a small team of talented designers and developers and later formed Gaslamp Media in 2008. He currently oversees all web design and development projects for Gaslamp Media. A self proclaimed nerd, he stays up to date with the latest in Internet trends and passes that knowledge to his clients. Thai has a BS in Management Science from University of California, San Diego.
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 […]
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 […]
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.
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 […]
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, […]
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 […]
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 […]
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 […]
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 […]